RE: [PHP] session header issue
| From: | Ow Mun Heng | Date: | Fri, 01 Aug 2003 03:50:35 +0000 |
| Subject: | RE: [PHP] session header issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157870@lists.php.net to get a copy of this message | ||
I changed it so that it's not an ABS URL. I had it working so.. I thought,
if it aint' broken, don't fix it...
Well, I fixed it anyway, who knows it might cause problems somewhere..
Thank All.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-----Original Message-----
From: Sam Folk-Williams [mailto:sfolkwilliams@mn.rr.com]
Sent: Thursday, July 31, 2003 11:41 PM
To: php-general@lists.php.net
Subject: Re: [PHP] session header issue
> 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.
GREAT point! Sorry, I didn't realize it was bad form. Just ignorant here --
I tried it with an absolule URL and it now works fine. Thanks for the help.
Sam
"Chris Shiflett" <shiflett@php.net> wrote in message
news:20030731151927.12356.qmail@web14309.mail.yahoo.com...
> --- 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/