Session SID curio

From: Date: Wed, 26 Feb 2003 07:22:58 +0000
Subject: Session SID curio
Groups: php.general 
Request: Send a blank email to php-general+get-137194@lists.php.net to get a copy of this message
I ran into a weird curiosity playing with sessions. Consider this working code: <? session_start(); echo "Session ID == ".SID; ?> If I access http://hostname/sess.php from my internal network this is the result: Session ID == If I access http://www.domainname.net/sess.php from my internal network this is the result: Session ID == PHPSESSID=aed42b1e8e514e2b28e630729edfa24b Server: Apache/1.3.27 (Unix) PHP/4.3.0 www.domainname.net maps to hostname. They are the same server, just accessed differently. Maybe I missed it but I didn't see anything in the docs, archives or bugs about this. Anyone know why this happens? Bryan

« previous php.general (#137194) next »