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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling Refresh Button

Status
Not open for further replies.

nomy

Programmer
Jul 20, 1999
23
PK
Hello all.<br><br>Could u pl help me in controlling the refresh button of the browser. I am using session variables in my project and on refresh session variables are initialized. How to controll this issue or better how to controll the refresh button.<br><br>Thanks<br>nomy<br>
 
Put your session initalization stuff in the global.asa file under the subroutine Session_OnStart().&nbsp;&nbsp;That way, it will only happen once.&nbsp;&nbsp;If you truly must do it at the top of your page, use an if statement to check to see if one of your session variables already exists.&nbsp;&nbsp;If so, skip the initialization.<br><br>You can't control the refresh button and you shouldn't. <p>Monte Kalisch<br><a href=mailto:montek@montekcs.com>montek@montekcs.com</a><br><a href= MVP for ASP</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top