PHP Version: 4.2.2
Hi
I had a problem with my session name.
In the php.ini, was set the default name PHPSESSID from the default installation. Now i have the problem, that i use the name "audience" for my webapplikations with PHPope (http://www.phpope.org)
I Set the name in the script with the following code: session_name("audience"); session_set_cookie_params(time()+9999999, "/", $config["default"]["cookiedomain"]); session_cache_limiter('no_cache'); session_start();
Now i had the problem, that i lost the session after login. The server forgave me a new session which called PHPSESSID and not audience :-(
Now i have changed the value session.name in my php.ini to audience and it works!
What's the problem here? A bug?
I have enabled session.auto_start.
This is the problem, the session is started before your script executes and sets the session name. Disable session.auto_start
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php