RE: [PHP] stay logged in for session

From: Date: Fri, 18 May 2007 11:43:43 +0000
Subject: RE: [PHP] stay logged in for session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-255125@lists.php.net to get a copy of this message
> > HTTP Location headers require the full hostname, i.e. > > > > header("Location: > > http://www.example.com/page_to/redirect/to.php"); > > that is true, but usually it works with relative url-s also > > greets > Zoltán Németh > Just because some user agents handle non-standard data doesn't make it correct. The HTTP spec says it has to be an absolute URI [1] so until that changes, I'll keep using and recommending absolute URIs. E [1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

« previous php.general (#255125) next »