Re: Cannot destroy session cookie
| From: | Johannes Janson | Date: | Wed, 18 Apr 2001 12:27:49 +0000 |
| Subject: | Re: Cannot destroy session cookie | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49197@lists.php.net to get a copy of this message | ||
Hi,
Why destroying it "before" a user logs in? Isn't it
better to start the session "after" a successful login?
And then destroying the session when the user logs out.
Or did I get it wrong. A few lines of code would help
to understand.
Johannes
"Jens Kisters" <newsletters@rosomm-partner.de> schrieb im Newsbeitrag
news:3ADD43DB.E378D2A5@rosomm-partner.de...
Hi there,
i'm having a little trouble with cleaning up sessions.
I have a login page that sets a certain session variable that is used to
determine wether a user is logged on.
When the user has cookies turned on the application recognizes the
running session an resumes it, that also happens on the login-page,
i'd like to explicitly destroy the session before logging on, i tried
unsetting the session variable, destroying the session, unsetting the
session cookie, but nothing worked, the session is always continued with
the same SessionID.
What can i do to destroy the session?
tks
Jens
--
Grüße aus dem schönen Kleve
Jens Kisters
rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau
Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
j.kisters@rosomm-partner.de
http://www.rosomm-partner.de
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net