ID:               46841
 User updated by:  vijaybabur at mobiusservices dot in
 Reported By:      vijaybabur at mobiusservices dot in
 Status:           Open
 Bug Type:         *General Issues
 Operating System: Cent OS
-PHP Version:      5.2.8
+PHP Version:      5.1.6
 New Comment:

My PHP version is 5.1.6
>From my php.ini file - for your ref
session.name = PHPSESSID
session.auto_start = 0


Previous Comments:
------------------------------------------------------------------------

[2008-12-12 06:35:24] vijaybabur at mobiusservices dot in

Description:
------------
Hi,

I think this is a bug. I am facing problem in handling more than one
session in a single page. 


When i set the session_name at first, it's working fine. But if i
change the session.name in the next looping, it has changed but the
session values doesn't get changed. It's showing the previous session
value's only.

Reproduce code:
---------------
foreach ($projects as $key => $val)
{       
     ini_set('session.name',$val);
     session_name($val);
     session_start();
     session_regenerate_id(false);
     echo session_id();
     .
     .
 

     .
     session_write_close();
}

Expected result:
----------------
I need to handle more than one session values in a single page.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46841&edit=1

Reply via email to