php-windows | 2002071
Date: 07/14/02
- Next message: pookster: "RE: [PHP-WIN] Re: Properly ending a session"
- Previous message: Johannes Hiemer: "[PHP-WIN] Re: php cookie / session problem"
- In reply to: Micha: "[PHP-WIN] Re: Properly ending a session"
- Next in thread: pookster: "RE: [PHP-WIN] Re: Properly ending a session"
- Reply: pookster: "RE: [PHP-WIN] Re: Properly ending a session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I figured out my problem not being able to properly terminate a session.
I had to
Session_start();
Before the session_destroy;
Is there a way that I ca setup sessions so I do not have to use session
start? I always would want the ability to use sessions so is there a
setting I can change?
Matt Babineau
MCWD / CCFD
-----------------------------------------
e: matt <email protected>
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-----Original Message-----
From: Micha [mailto:armageddon <email protected>]
Sent: Sunday, July 14, 2002 5:09 AM
To: php-windows <email protected>
Subject: [PHP-WIN] Re: Properly ending a session
You can use session_destroy(), this will delete the session (even from
the HD).
-micha
Matt Babineau wrote:
> How can I properly terminate a session? I am working on a login/logout
> system and I need to login as a different user for testing so I want
> to be able to log myself out. I am using session variables to indicate
> my user ID when logged in. Are there any specific methods to use to
> "log myself out"?
>
> Matt Babineau
> MCWD / CCFD
> -----------------------------------------
> e: <mailto:matt <email protected>> matt <email protected>
> p: 603.943.4237
> w: <http://www.criticalcode.com/> http://www.criticalcode.com PO BOX
> 601 Manchester, NH 03105
>
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: pookster: "RE: [PHP-WIN] Re: Properly ending a session"
- Previous message: Johannes Hiemer: "[PHP-WIN] Re: php cookie / session problem"
- In reply to: Micha: "[PHP-WIN] Re: Properly ending a session"
- Next in thread: pookster: "RE: [PHP-WIN] Re: Properly ending a session"
- Reply: pookster: "RE: [PHP-WIN] Re: Properly ending a session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

