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

Window Close events capture

Status
Not open for further replies.

ghostdogenterprise

Programmer
Joined
Aug 28, 2002
Messages
4
Location
US
Hello,

I'd like to capture all the commands that close a browsers window. I know that I must capture Ctrl + f4, the X in he upper right corner and the File menu/Close event. Is there a simple method of capturing the events and redirecting a user to the security logout page. I'm thinking event.keycode and event.which would need to be used.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top