PHPSESSID (Semi-Bug)
Posted: Thu Apr 23, 2009 1:24 pm
Hi there,
I've been running S9Y for quite a while. Recently I successfully updated my two blogs.
I found out that in recent versions of S9Y, confusing things happen as soon as you have two blogs on one Internet domain: depending on which blog I visit first, the language of the second blog's controls adapts to the one of the first. I checked my cookies and found out, that all PHP applications on my domain are using the cookie PHPSESSID for storing the session key.
In order to prevent two installations of S9Y from interacting on the same domain, I found it useful to put the following intro the .htaccess file:
php_value session.name LalaSID
Choosing a custom session name for each installation prevents the problem and keeps other PHP applications on the domain from doing even more unpredictable things with S9Y.
Perhaps it would be a good idea to make S9Y aware of that and have it using its own session name per installation automatically.
Best
DrNI
http://www.drni.de/blog/
http://www.drni.de/niels/cl/blog
I've been running S9Y for quite a while. Recently I successfully updated my two blogs.
I found out that in recent versions of S9Y, confusing things happen as soon as you have two blogs on one Internet domain: depending on which blog I visit first, the language of the second blog's controls adapts to the one of the first. I checked my cookies and found out, that all PHP applications on my domain are using the cookie PHPSESSID for storing the session key.
In order to prevent two installations of S9Y from interacting on the same domain, I found it useful to put the following intro the .htaccess file:
php_value session.name LalaSID
Choosing a custom session name for each installation prevents the problem and keeps other PHP applications on the domain from doing even more unpredictable things with S9Y.
Perhaps it would be a good idea to make S9Y aware of that and have it using its own session name per installation automatically.
Best
DrNI
http://www.drni.de/blog/
http://www.drni.de/niels/cl/blog