note 44824 added to ref.session
| From: | root | Date: | Tue, 17 Aug 2004 15:55:24 +0000 |
| Subject: | note 44824 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79797@lists.php.net to get a copy of this message | ||
A common problem with session.auto_start, when activated in php.ini file, is the fact that if
you've php objects inside the session classes must be loaded before session in started.
You'll run into trouble then...
To avoid this, if you cannot ask your sysadmin to modify the php.ini file, add this line to your
.htaccess wherever you need it in your application (usually on top of your app):
php_value session.auto_start 0
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44824
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44824&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44824&report=yes
Search -- http://master.php.net/manage/user-notes.php