It helps for me being able to re-login as a different user. It's a good idea but it still leaves a bit to be desired for security. I'm going to also post this to the js list and see if they've worked with it before.
Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -----Original Message----- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] session_destroy problem You meant the tab browers. Like 2 tabs... I haven't tried it but now that you mentioned it, I'm going to have to look at it soon. I do noticed one thing, the status bar, if it have comments, it will show up on other tabs even though it is a completely a different website. I get the impression that it doesn't seem to be as independent of each other, know what I meant? What I did with the php script is to expire the session first, at the beginning of hte webpage before the login page showed up and before attempting to create a session. Maybe this will help a little bit. "Larry Brown" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Question...Do you know if Mozilla runs a browser instance that might handle > the process after one of the browser windows is closed? Right now the > situation is that IE closes the session when the window that opened it > closes. I have a site that is authenticated and then runs sessions on the > authenticated user. If you close the browser window and open another one, > you are prompted for the login and password and have your new > identity/session. On Mozilla if I close the window actively on the site and > have other windows up on other sites I can open another Mozilla instance and > return to the site and it still has my session open and identity. I have to > close every Mozilla instance for the session to close. If Mozilla is run by > one central process I would think maybe it could do this onwindowclose > behaviour? Maybe a good question for the Javascript list but since it > sounds like you guys have seen this tried before maybe you already know. > > Larry S. Brown > Dimension Networks, Inc. > (727) 723-8388 > > -----Original Message----- > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 12:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] session_destroy problem > > Yes, the JavaScript code can run before the browser is closed but it would > not be finish running because the browser closing had been executed. > Someone had tried it before and struggled with it. But that is a good > advice, thanks for jumping in. > > "Tamas Arpad" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Friday 10 January 2003 17:39, Scott Fletcher wrote: > > > Javascript has a function for performing actions on window close.... > > That would work only if the webserver IP address is '127.0.0.1' (local > > machine), but not any other IP address. Because of the ACK synchrious > > communication that get interrupted as result of the browser closing. > I think the javascrit code runs before the browser is closed, other way what > would run it? > > Arpi > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php