[thelist] Back button issue with QueryString
Michael Robertson
mike at mikeemedia.com
Thu Jan 23 09:00:01 CST 2003
Basically this part of the QueryString "?msg=23" tells the server to call a
sub that pulls the corresponding message from a database and displays it in
the browser. That is working fine.
The problem is if follow I link to another page and decide I want to go back
and hit the back button, the browser history calls
MyPage.asp?msg=23 and displays the message again which in most case is not
appropriate anymore.
So I'm wondering if there is a way to eliminate that problem.
Thanks
----- Original Message -----
From: "Chris Harrington" <chris at activeinterface.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, January 23, 2003 9:44 AM
Subject: Re: [thelist] Back button issue with QueryString
> Hi,
> More explanation of the specific sequence would help in diagnosing
> this. What do you mean by "produces the message" or "return that
QueryString"?
>
> But to give you a general solution, build a handshake protocol between
> browser and server using a cookie. This allows the server to tell the
> browser when it is expecting information. This will also eliminate
"double
> submit" problems.
>
> Chris
>
> At 09:11 AM 1/23/2003 -0500, you wrote:
> >--
> >[ Picked text/plain from multipart/alternative ]
> >Somebody must have encountered this before. I have a page the sometimes
> >has an error message that pops up based on an event and querystring. For
> >example if something occurs a file would send this back to a page
> >
> >MyPage.asp?msg=23
> >
> >This will trigger a message to appear.
> >
> >The problem is if someone contines to another page and then hits the back
> >button to return that QueryString is there and produces the message all
> >over again. I don't like that. Is there anything I can do to get rid of
> >that QueryString on return?
> >--
> >
> >
> >--
> >* * Please support the community that supports you. * *
> >http://evolt.org/help_support_evolt/
> >
> >For unsubscribe and other options, including the Tip Harvester
> >and archives of thelist go to: http://lists.evolt.org
> >Workers of the Web, evolt !
>
>
> Chris Harrington
> chris at activeinterface.com
>
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>
More information about the thelist
mailing list