You are here: RE: [PHP] Sessions and cookies « PHP « IT news, forums, messages
RE: [PHP] Sessions and cookies

Posted by Brett Patterson on 02/22/05 08:31

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация