Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Capturing refreshing button.


Message #1 by B Raghu <b_raghu@m...> on Mon, 24 Mar 2003 11:22:57 +0800
Hi All,

  I would like to know how to capture the Refresh Button event.

  Below is the problem which I am facing now...

  My Page has got 3 Frames the left one being the Menu Frame where I list
down all my menus,
  once the user logs-in the menu's will be disabled (I use session variable
and set it 1 / 0 ) 
  and enabled again once the user logsoff (session variable will be 0).

  Now the Problem which I am facing is if the user refreshes the Page( press
F5 or from IE menu ) 
  after logging-in the mainframe gets loaded with the default page but the
menu bar is still disabled, 
  actually it should be enabled so that the user can login again, when I
checked the Login session variable
  it still has a value of 1 instead of 0.  
 
  Any suggestions to overcome this issue... 	
Rgds,
Raghu...

  Return to Index