Re: session header issue
| From: | Chris Shiflett | Date: | Thu, 31 Jul 2003 15:19:27 +0000 |
| Subject: | Re: session header issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157749@lists.php.net to get a copy of this message | ||
--- Sam Folk-Williams <sfolkwilliams@mn.rr.com> wrote:
> > The Location: header requires a correctly formed URL
>
> It works fine having Location: main.php
That doesn't justify it. This is no different than writing screwed up HTML
tables that happen to appear as you want in the browser you're testing with.
You never know when your broken code is going to cause problems somewhere, and
you've no one to blame but yourself when they do.
It's much better for everyone just to do things the right way. The Location
header should be an absolute URL.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/