Bug #15158 Updated: Session get replaced when moving to other domain
| From: | miki at canaan dot co dot il | Date: | Tue, 22 Jan 2002 10:34:17 +0000 |
| Subject: | Bug #15158 Updated: Session get replaced when moving to other domain | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77745@lists.php.net to get a copy of this message | ||
ID: 15158
User updated by: miki@canaan.co.il
Reported By: miki@canaan.co.il
Old Status: Feedback
Status: Open
Bug Type: Session related
Operating System: RH7.1
PHP Version: 4.1.1
New Comment:
in My 4.0.6 php.ini
cookie_domain =
in My 4.1.1 php.ini
cookie_domain =
Worked very well through all the 4.0.x ver untill the 4.1.1 ( didnt
checked the 4.1.0 )
Previous Comments:
------------------------------------------------------------------------
[2002-01-22 05:24:20] jan@php.net
Please check your session.cookie_domain setting (php.ini directive).
------------------------------------------------------------------------
[2002-01-22 05:17:40] miki@canaan.co.il
When I move from www.domain.com to secure.domain.com with the PHPSESID
in the URL the session from the previous domain continue to work in the
new one until the first inner link that does not have the PHPSESID is
clicked.
When such link is clicked ( or submitted ) the session_start/register
initiate new session to the domain and forget about the old session.
This behavior started after I upgraded to 4.1.1 from 4.0.6.
IMHO
In 4.0.6 the session was accepted for the domain ( as default ) after
PHPSESID was delivered but in 4.1.1 its not.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=15158&edit=1