Home All Groups Group Topic Archive Search About
Author
20 Jan 2006 6:01 PM
robecflo
Hi forum, i have a problem with forms. My client fills a form and then
submit once it is complete, then it redirects to another page  some
users sometime clicks on the IE back button. So if the page is back the
form is load again and its filled with same data, so user can submit
again and the information can be duplicated. How can i avoid it? I
would like to show something like it expired or maybe catch the action
(click on the back button) and inhabilate the action.

Someone solve a problem like this?

Thanks in advanced.

Author
20 Jan 2006 6:34 PM
Chris
robec***@gmail.com wrote:
> Hi forum, i have a problem with forms. My client fills a form and then
> submit once it is complete, then it redirects to another page  some
> users sometime clicks on the IE back button. So if the page is back the
> form is load again and its filled with same data, so user can submit
> again and the information can be duplicated. How can i avoid it? I
> would like to show something like it expired or maybe catch the action
> (click on the back button) and inhabilate the action.
>
> Someone solve a problem like this?
>
> Thanks in advanced.
>

Just an idea as I don't program much asp.net, but couldn't you add
something to the session object to say that the session has done the
submit.  Then before saving the information the second time you can
catch that the submit happened already.

Chris