471,055 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,055 software developers and data experts.

admin logout & body onunload event

To make my system's admin page safer maybe I should apply
<body onunload=""> somehow so that admin session would be reseted
immediately after user closes the window?

But how to check easily that unloading refers only to
windowclosing, not to following links to other admin subpages?
Jul 23 '05 #1
1 1762
Perttu Pulkkinen wrote:
To make my system's admin page safer maybe I should apply
<body onunload=""> somehow so that admin session would be reseted
immediately after user closes the window?

But how to check easily that unloading refers only to
windowclosing, not to following links to other admin subpages?


You don't. If you want the admin session reset, do it on the server with
sessions, not in the browser.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Brian Vallelunga | last post: by
2 posts views Thread by Oleg Ogurok | last post: by
13 posts views Thread by Mickey | last post: by
6 posts views Thread by Thiago Macedo | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.