Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Force page refresh ASP?

LEGEND ,
Feb 14, 2007 Feb 14, 2007
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?
TOPICS
Server side applications
482
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2007 Feb 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2007 Feb 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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2007 Feb 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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2007 Feb 14, 2007
LATEST
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.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines