Is there a way to test a postback from refresh and back button+resubmit? thanks!

D

davidw

This troubles me for a while. When user click back button and click submit
button, I get the same data as user click refresh(it resubmit the page too).
Is there a way to tell the difference?

thanks.
 
S

Stephen Witter

In SQL Server I use a stored procedure with an output param, and return the
PK from the record to the webform, populating a textbox. If the textbox
contains an value then I bypass the code to add the data.
 

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

Top