[Phpmyadmin-devel] use of session_name()

Hi, we have a problem on our (new) demo on sf.net, because of the call to session_name('phpMyAdmin') in libraries/session.inc.php. This is not supported on sf.net. Do we really need this in the code? Or can we detect in advance this problem? Marc

Marc Delisle wrote:
Hi,
we have a problem on our (new) demo on sf.net, because of the call to session_name('phpMyAdmin') in libraries/session.inc.php. This is not supported on sf.net.
Do we really need this in the code? Or can we detect in advance this problem?
session_name() is required to different between two phpMyAdmin installations on the same (virtual)host - if the cookie-path is '/' why is session_name not supported? i mean, whats missing? or what does it mean 'not supported on sf.net'? function_exists( session_name() ); ?? -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet

Sebastian Mendel a écrit :
Marc Delisle wrote:
Hi,
we have a problem on our (new) demo on sf.net, because of the call to session_name('phpMyAdmin') in libraries/session.inc.php. This is not supported on sf.net.
Do we really need this in the code? Or can we detect in advance this problem?
session_name() is required to different between two phpMyAdmin installations on the same (virtual)host - if the cookie-path is '/'
why is session_name not supported? i mean, whats missing? or what does it mean 'not supported on sf.net'?
function_exists( session_name() ); ??
Further tests showed me that it's really session_start() that gives a permission error on sf.net (a warning, really), so I added "@". Marc
participants (2)
-
Marc Delisle
-
Sebastian Mendel