Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I find out page refreshed?

Status
Not open for further replies.

MLRaji

Programmer
Oct 24, 2003
7
IN
Hi All,

I Have one textbox and one button.

After entering data in textbox user have to hit button to inserdata into data base.

After hitting button If User refreshes the screen it's inserting data into database.

How can I avoid to insert into database while refreshing page.

Thanks and Regards,
Raji chinnam
 
what you should to is when the form sends the page content to the processing page, have this processing page response.redirect back to your form page. This should fix the problem.

The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top