|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-12 11:25 UTC] vijaybabur at mobiusservices dot in
[2008-12-16 18:26 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 08:00:01 2025 UTC |
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.