admin logout & body onunload event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Perttu Pulkkinen

    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?


  • Randy Webb

    #2
    Re: admin logout &amp; body onunload event

    Perttu Pulkkinen wrote:[color=blue]
    > 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?[/color]

    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.javas cript FAQ - http://jibbering.com/faq/

    Comment

    Working...