Hi there,
First off this may be more of a javascript question than PHP question
but I was wondering if anyone else has attempted something similar (and
it does involve the deletion of PHP sessions).
Here's the scenario: I have a 'stand alone' website on our intranet
which creates a PHP session
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 22-01-02 at 11:30
* Neil Freeman said
Does anyone have any suggestions as to how I could achieve the
following:
a) Browser window closed by user clicking on [X]
No but I'm sure someone will.
b) 'Logging out' page opened (which
OK I agree with you there :) But as I haven't called the session_destroy()
function the session file still resides in the session.save_path directory.
Over time the number of these files will obviously increase so isn't it
better to implement a method which calls the session_destroy() function
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 22-01-02 at 11:46
* Neil Freeman said
OK I agree with you there :) But as I haven't called the session_destroy()
function the session file still resides in the session.save_path directory.
Over time the number of these files will
OK I'll have a look around. Thanks for your time Nick.
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 22-01-02 at 11:46
* Neil Freeman said
OK I agree with you there :) But as I haven't called the session_destroy()
function the session file still resides in
Uhhh? Closing a browser window, does definetly NOT delete the session.
Closing a Browser Window simply does nothing on the Server-Side, so there's
no command to delete a session executed. If someone manages to grab the
sessionid (or the cookie) and opens the Page again, the session is still
PROTECTED]
Date: Tue, 22 Jan 2002 11:08:23 +
To: PHP-General [EMAIL PROTECTED]
Subject: Re: [PHP] Session deletion on window close?
OK I'll have a look around. Thanks for your time Nick.
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 22-01-02 at 11:46
* Neil
7 matches
Mail list logo