469,600 Members | 2,393 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,600 developers. It's quick & easy.

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

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.
Jul 21 '05 #1
1 1377
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.

"davidw" <da****@affinisys.com> wrote in message
news:ud**************@tk2msftngp13.phx.gbl...
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.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Botao | last post: by
1 post views Thread by blue | last post: by
4 posts views Thread by Jeremy | last post: by
6 posts views Thread by Jonathan Wood | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.