Hi Gregory,

try : 

get $_SERVER[HTTP_COOKIE] 

without quoting HTTP_COOKIE

Works fine there.

HTH,

Pierre

Le 18 août 2010 à 00:04, Gregory Lypny a écrit :

> Hello everyone,
> 
> Yes, it's the pathetic cookie guy again.  Having finally learned how to set 
> them, I was wondering if anyone might care to comment on whether my method 
> for getting a user's cookie makes sense.  My understanding of
> 
>       get $_SERVER["HTTP_COOKIE"]
> 
> is that it will only get the most recent cookies if a new request has been 
> made, and I'm guessing that that means a POST or GET action.  Say a user 
> clicks a hyperlink named My Page, which is supposed to take them to a 
> personal account page, populated with personal settings.  I figure that it is 
> easiest to embed a POST form action in every page, even if there are no form 
> objects on some pages, so that no matter what page a user is on or what 
> hyperlink they click, their cookies can be retrieved by a script in the 
> destination page, checked against a database, and the appropriate content 
> shown.  Does that sound kind of in the ballpark?  It probably makes more 
> sense to attach the POST action directly specific hyperlinks, such as My 
> Page, but I'm not sure how to do that.
> 
> Regards,
> 
> Gregory
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.woooooooords.com
www.sahores-conseil.com




_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to