[Phpmyadmin-devel] use of session_name()

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Tue Oct 11 05:00:57 CEST 2005


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




More information about the Developers mailing list