Re: Re: session cookies enabled?

From: Date: Wed, 09 May 2007 00:03:07 +0000
Subject: Re: Re: session cookies enabled?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-254606@lists.php.net to get a copy of this message
On Tue, May 8, 2007 5:50 pm, itoctopus wrote: > setcookie("cookie_name", "value"); > //redirect to another page using header > header("location:".$your_url); This will fail on some legacy browsers, if you need legacy browser support. In *MOST* architectures, your visitor can be given the cookie on a page "before" the cookie-needing page, or they can be given alternate content (i.e., a login) until you are happy with whatever cookie (and its implied state of existence) are presented. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#254606) next »