Setting session to not expire
| From: | Skip Evans | Date: | Thu, 19 Jun 2008 01:54:04 +0000 |
| Subject: | Setting session to not expire | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-275553@lists.php.net to get a copy of this message | ||
Hey,
I'm reading up about the session functions looking for the proper way to set a session to never expire, but I'm a little confused.
is calling
session_cache_limiter('private_no_expire');
...before before session_start() the proper way to set a session to never expire? Or least until the browser is closed?
It looks like it to me, but I'm not exactly sure.
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/