|
-
Dec 19th, 2006, 07:50 AM
#1
Thread Starter
Member
on page refresh event fires again?
Hi Guys,
I have a ASP:Button which when clicked saves some data in the database. This works fine! But after the save if user refreshes the browser by hitting F5 or clicking the refresh button on the browser the event fires again and saves the data in the DB. How do I stop this??
-
Dec 19th, 2006, 11:49 AM
#2
Re: on page refresh event fires again?
Clear the form of any values. Alternatively, when the user fills in values in the form, take him to another page which does the saving, then go back to the original form, clear of values. Or, move the user to another page after saving their data. A confirmation page, so to speak.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|