How to prevent F5 page refresh conditionally

asp.net India
  • 18 years ago

    In my application, database inserts, updates and deletes are carried out in response to corresponding button clicks on the screen.


    After insert operation, if F5 is pressed, the record gets inserted again. I want to prevent this. In cases other than insert, I don't want to disable F5.


    How can this be achieved, any solution anybody??

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In theory, theory and practice are the same. In practice, they're not.”