ID: 16389 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Linux PHP Version: 4.1.2 New Comment:
i almost forgot session_name also returns eisessid if i set it from my script but doesnt return any session variable info. But using .htaccess it yet returns eisessid as session name but this time it returns the session variable info as well. (both cases session_id remains the same). Previous Comments: ------------------------------------------------------------------------ [2002-04-02 05:57:17] [EMAIL PROTECTED] session_name is supposed to get/set the session name. So basically if i have a session variable which is registered under a particular session name and a session id i should be able to propogate it across any subdomain. Now heres the real problem i have a domain.com which works on eisessid as its session name and i have abc.domain.com which i am trying to access the session information. When i set session_name to eisessid i do not get the information of that session(from within my php script). However, when i put session.name as eisessvar in my .htaccess of abc.domain.com i am able to retrieve the information. Since session_name is supposed to set/get the name of the session and i am propogating the session id to work, shouldnt session_name from within my code be able to access the session variables ? instead of having to only do it from .htaccess ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16389&edit=1