note 2506 deleted from Session handling functions by sniper
| From: | sniper@php.net | Date: | Mon, 02 Jul 2001 08:13:27 +0000 |
| Subject: | note 2506 deleted from Session handling functions by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14860@lists.php.net to get a copy of this message | ||
I first want to re-emphasize a coment by pfaffman@relax.com from Nov 12; "You need to be able
to set session.lifetime in php rather than in .htaccess or php.ini." Some features must be
configurable on a per-session basis, including at least session lifetime and session type
(cookie/URL). My site requires sessions, and strongly prefers clean URL's (but I don't
want to lock out the cookieless). You can determine whether the user accepts cookies by trying to
set one (e.g. accepts_cookies=1) and refering them to a new page. On the new page you can choose
which type of session to use, but only if the underlying session technology supports this as a
per-session choice.