Cache problem

  • Thread starter Thread starter robecflo
  • Start date Start date
R

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.
 
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
 

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

Back
Top