Re: Unable to Destroy Session
| From: | Harlequin | Date: | Tue, 03 Aug 2004 10:52:58 +0000 |
| Subject: | Re: Unable to Destroy Session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192530@lists.php.net to get a copy of this message | ||
Sorted it.
for some reason it was holding the session because I had two browser windows
open which is the environment it will be used in by the users.
strange though...
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Harlequin" <michael.mason@arraspeople.co.uk> wrote in message
news:20040803104511.47554.qmail@pb1.pair.com...
> Morning guys.
>
> I'm trying to destroy a session using "session_destroy();" and I get the
> following error:
>
> "Trying to destroy initialised session"
>
> I simply want a user to click a logout button that destroys the session
> cookie. Am I doing this the right way...?
>
> --
> -----------------------------
> Michael Mason
> Arras People
> www.arraspeople.co.uk
> -----------------------------