Msg#: 3654300 posted 9:13 am on May 20, 2008 (gmt 0)
THis is a very serious problem i am facing. When i enter any value in textbox1 and i clcik submit , the values are getting enetered into database.upto to here its ok. The problem is when i refersh the page the values are getting entered into database automatically. ple anyone sort this prob.
Msg#: 3654300 posted 9:23 am on May 20, 2008 (gmt 0)
When you refresh a page where a post has been made there is generally a warning that comes up in the browser to say that if you refresh you make another post. As the post request is sent with the http request for the page. So when a new request is sent for the same page then there is another post sent.
So an easy way around that would be to redirect the browser to another page after the information has been entered into the database. This will then clear the original post sent, unless people go back to that page again.