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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php