Re: session_destroy problem
| From: | Scott Fletcher | Date: | Fri, 10 Jan 2003 17:35:00 +0000 |
| Subject: | Re: session_destroy problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131151@lists.php.net to get a copy of this message | ||
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" <larry.brown@dimensionnetworks.com> wrote in message
news:CBECIONKKLMDDCIKHALJMEONFJAA.larry.brown@dimensionnetworks.com...
> 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:scott@abcoa.com]
> Sent: Friday, January 10, 2003 12:02 PM
> To: php-general@lists.php.net
> 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" <sts@mail.xubion.hu> wrote in message
> news:200301101751.53603.sts@mail.xubion.hu...
> 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
>
>