470,631 Members | 1,648 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

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
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

Jul 17 '05 #1
1 1383

"Perttu Pulkkinen" <pe**************@co.jyu.fi> kirjoitti viestissš
Route to administration goes from link something like

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

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?

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Tom | last post: by
6 posts views Thread by wukexin | last post: by
3 posts views Thread by Colin J. Williams | last post: by
7 posts views Thread by Corepaul | last post: by
5 posts views Thread by Steve | last post: by
8 posts views Thread by Mark | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.