RE: [PHP] Sessions and cookies
| From: | Brett Patterson | Date: | Tue, 22 Feb 2005 06:31:35 +0000 |
| Subject: | RE: [PHP] Sessions and cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209160@lists.php.net to get a copy of this message | ||
Well, if you look in your phpinfo() file, you will see a SESSION_TIMEOUT or
SESSION_LENGTH value that is something like 180000... different for each
server.
If you hold all your session values in the array, then you can use
session_destory(); as long as session_start() is previous to that.
I am under the impressions that both Sessions and Cookies are stored on the
user end, but I may be wrong.
~Brett
-----Original Message-----
From: Jacques [mailto:admin@hrfocus.co.za]
Sent: Tuesday, February 22, 2005 1:20 AM
To: php-general@lists.php.net
Subject: [PHP] Sessions and cookies
When a session object is created - where is it store? (Perhaps on the
application server - IIS or Appatche?) Or on a cookking on a user's
computer?
To destroy the session object (widht all session vairables inside the
particluar session object) can I use session_destroy();
What is also the default life span of a session object? and can this
bechanged?
Reagrds
Jacques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php