Skip to main content
Inspiring
February 14, 2007
Question

Force page refresh ASP?

  • February 14, 2007
  • 4 replies
  • 482 views
I want to make sure that the page, if user hits back button, the page
that they go back to will refresh. Is this possible?

How?
This topic has been closed for replies.

4 replies

Inspiring
February 14, 2007
Lee wrote:
> MM_dupKeyRedirect = MM_dupKeyRedirect & MM_qsChar & "requsername=" &
> MM_dupKeyUsernameValue
>
> It appears this is what is making it appear in the browser address bar.
> Can this be edited so that it doesn't pass it in the address bar?

And yet again,I have solved this one by commenting out this part of it.
It no longer passes this in the browser address window.

'& MM_qsChar & "requsername=" & MM_dupKeyUsernameValue

This is getting so covoluted.

The user now gets dumped into another page and it would probably be a
little disorienting for the user to submit one page to be dumped into
another very similar page, where, if they wanted to update their
information, they would need to fill it all out again. '

All these issues are caused by the fact that I need to learn Stored
Procedures enough so that I can have both shipping and billing insertion
on one page.


Inspiring
February 14, 2007
MM_dupKeyRedirect = MM_dupKeyRedirect & MM_qsChar & "requsername=" &
MM_dupKeyUsernameValue

It appears this is what is making it appear in the browser address bar.
Can this be edited so that it doesn't pass it in the address bar?
Inspiring
February 14, 2007
OK, I have now used the check username extension but it adds
http://domainname.com/webaddress.asp?requsername=userID8984 in the
address box of the browser which I do not like.

It doesn't appear to be needed for what I am doing here, is there a way
to eliminate this?
Inspiring
February 14, 2007
Lee wrote:
> I want to make sure that the page, if user hits back button, the page
> that they go back to will refresh. Is this possible?
>
> How?

I figured out how to do this using javascript. However, I soon realized
that this would refresh the page and because I set a session variable
redirect if the the session is true, it bumps them to a new page that fails

I am trying to avoid duplicate entries. If they go to the page using
normal navigation, it works but if they hit the back button, it fails.

I understand this is vague but does anyone have an idea what I could try?

Thanks