Victor wrote:
> Why not unregistered the session variables first, destroy the session
> second and redirect the user with a header location to a plain html
> page that includes a one line JavaScript in the body tag like
> onload+thiswindow cloase or something like that, and a message that
> "please closes this window for complete logout. That's what I do and
> it works, in mozilla the script closes the window, in i.e. it asks
> that the user verify if they want to close the window, if they say
> no, then the user sees the message that "please close this window to
> logout" and that would pretty much take care of everything as far as
> I know.

So, you first destroy the session, and then open a popup window? Why? If you
destroyed the session, the user is already logged-out. Or do you destroy the
session also in a popup window? In that case you have another two usergroups
which can be a pain-in-the-ass:
a) users that don't have JavaScript activated
b) users (like me) that have a Popup killer

Maybe, with all these solutions together, we can create the perfect logout
script ;-))

Grtz Erwin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to