C
Colin Steadman
I'm setting up an intranet site which allows users to update a
database from the web. This works great so far, but there is... not
so much a problem, but an unwanted behavior that I would like to get
rid of.
Basically when a user updates something in the database from
PAGE1.ASP, I forward the user to a page called MESSAGES.ASP and either
display a success/failure message as appropriate. The following tag
then forwards the user to PAGE2.ASP after 2 seconds.
<meta http-equiv=refresh content=2;url=PAGE2.ASP>
There is a back button in PAGE2.ASP which the user can click to get
back to PAGE1.ASP. So far so good!
The problem is, if the user clicks the back button in the browser
instead of my back button, the user is redirected to the MESSAGES.ASP
page and not the PAGE1.ASP page as expected (we dont need to see the
message again)!
Is there anything I can do to avoid this as things get confusing very
quickly when this happens!
TIA,
Colin
database from the web. This works great so far, but there is... not
so much a problem, but an unwanted behavior that I would like to get
rid of.
Basically when a user updates something in the database from
PAGE1.ASP, I forward the user to a page called MESSAGES.ASP and either
display a success/failure message as appropriate. The following tag
then forwards the user to PAGE2.ASP after 2 seconds.
<meta http-equiv=refresh content=2;url=PAGE2.ASP>
There is a back button in PAGE2.ASP which the user can click to get
back to PAGE1.ASP. So far so good!
The problem is, if the user clicks the back button in the browser
instead of my back button, the user is redirected to the MESSAGES.ASP
page and not the PAGE1.ASP page as expected (we dont need to see the
message again)!
Is there anything I can do to avoid this as things get confusing very
quickly when this happens!
TIA,
Colin