HELP! resetting admin session

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

    HELP! resetting admin session

    I have this problem:

    If administrator closes administration window
    from "right-corner-X", how to reset administration session?
    Now it happens that after that kind of "illegal" closing operation
    login form doesn't open anymore from the admin link if administrator
    was logged in. Person has to close explorer in order
    to get to the login page again.

    Current solution that doesn't work:
    Route to administration goes from link something like
    admin/index.php?reset =true
    and then I check $_REQUEST['reset'] and if it is set
    Ido the logout and try go to login form as normally
    but it doesn't go there, only gives blank page.

    This refers to session thing of course..!?
    But why because I try to logout everytime person goes
    true admin/index.php?reset =true

    Thank you so much if you can help!
    This I think is not typing error but logical error that
    happens because i don't know something that i should know.

    Perttu Pulkkinen FINLAND



  • Perttu Pulkkinen

    #2
    Re: HELP! resetting admin session


    "Perttu Pulkkinen" <perttu.pulkkin en@co.jyu.fi> kirjoitti viestissä
    news:iG%pc.112$ H04.103@read3.i net.fi...
    [color=blue]
    > Route to administration goes from link something like
    > admin/index.php?reset =true[/color]

    I found error: that link was "double link" with onclick=window. open
    that javascript link was not admin/index.php?reset =true, only
    admin/index.php

    Yet to make application even 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 that unloading refers only to windowclosing, not
    to following links to other admin pages?







    Comment

    Working...