Re: Login script login
| From: | Richard Lynch | Date: | Sat, 03 Feb 2007 01:28:57 +0000 |
| Subject: | Re: Login script login | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248222@lists.php.net to get a copy of this message | ||
On Fri, February 2, 2007 7:05 am, Jürgen Wind wrote:
>> // Set up the session here, or however you're tracking the
>> // current customer/user/whatever
>>
>> header('Location: /somewhere_else');
>> ?>
>>
>> Hope that helps.
>>
>> -Stut
>>
>>
> be aware that you need a session_write_close(); before
> header('Location...
> or the session data might not be written to disk!
If we're gonna get picuyane...
The Location header technically requires a full URL.
And using a re-direct instead of an include is a shocking waste of
HTTP resources imho, but that may not matter if traffic is low.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?