Re: Header() makes session expire (fqdn?)
| From: | jeremy brand | Date: | Tue, 22 Aug 2000 02:10:20 +0000 |
| Subject: | Re: Header() makes session expire (fqdn?) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12862@lists.php.net to get a copy of this message | ||
It may be that you are not speaking proper HTTP. I'm guessing that
you are trying to do some kind of 300 level redirect. You may want to
send completely valid HTTP responses.
It could be something else too, but it is good to rule out one problem
at a time.
Check out:
http://www.faqs.org/rfcs/rfc2068.html
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>