Can you tell in ASP if the back button has been pressed?

K

Kevin Audleman

Hello,

Is there a way to determine if a user has navigated to a page by
clicking the back button? I've got a page that dynamically generates a
form and submits it, the problem being that clicking the back button
has the effect of resubmitting the form. I'd like the back button to
work if at all possible.

Thanks,
Kevin
 
B

bruce barker

you store a transaction guid in a hidden field. then you store the guid
on the server when posted back. then on a second postback from
browser/firewall/proxy you can detect its happened already.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top