note 44824 deleted from ref.session by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 18:39:44 +0000 |
| Subject: | note 44824 deleted from ref.session by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142244@lists.php.net to get a copy of this message | ||
Note Submitter: root[noSPAM]cyberdark.net
----
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