note 22710 deleted from ref.session by sniper
| From: | sniper@php.net | Date: | Sun, 28 Jul 2002 00:49:48 +0000 |
| Subject: | note 22710 deleted from ref.session by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-33748@lists.php.net to get a copy of this message | ||
For automatic session initialization on every page, you have to set the flag session.auto_start = 1
in php.ini. And you will get a warning in row 0, php couldn't open the session file, when your
path for session files is set relative like this: session.save_path = ..\tmp, which can work
perfectly with the session_start() functions.
If changing autostart to 1 und having a relative save_path for sessions, the absolute directory path
changes. That's because the path no longer refers to the current scripting file (where
sesson_start() was executed before) but the system itself.
Using Apache the tmp directory is to add to the folder "Apache Group". Than it works
again.