Page 1 of 1

Denying refresh button..

Posted: Tue Oct 12, 2004 10:43 am
by Atiq
How can i know on a page that user has pressed refresh button.

I have a page in which i am entering some data in the tables.

If a user press refresh button it reenters the data into the tables which i don't want.

I want to know that user is on the particuler page second time in a row without going any where else.

I hope you understand.

Is there any way?

Thnaks

Atiq

Posted: Tue Oct 12, 2004 12:06 pm
by patrikG
Javascript's onUnload-event can help you there. See: http://javascript.about.com/library/glo ... ad_def.htm

edit: moved to client-side.