Header() makes session expire (fqdn?)

From: Date: Tue, 22 Aug 2000 02:01:11 +0000
Subject: Header() makes session expire (fqdn?)
Groups: php.general 
Request: Send a blank email to php-general+get-12859@lists.php.net to get a copy of this message
Hello List, I was wondering if someone could tell me why this line Header("Location:http://www.somedomain.com/somepage.phtml"); expires the users session, but Header("Location:http://192.168.1.199/somepage.phtml"); keeps the session and page flow intact? (www.somedomain.com is not a fqdn but it is mapped to 192.168.1.199 in my etc/hosts file) Ping and telnet work. Also, can I use URI's within Header like this? Header("Location:/somepage.phtml"); Many Thx - Eric

« previous php.general (#12859) next »