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.

Mit freundlichen Grüssen

Markus Graf
Hauptstrasse 80
9434 Au
0041 (0)79 / 261 16 37
[EMAIL PROTECTED]

-- 
Software is like sex, it's better when it's free!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to