atom feed6 messages in ru.sysoev.nginxRe: URGENT: cookies don't work with n...
FromSent OnAttachments
pk899Jun 5, 2011 9:18 am 
pk899Jun 5, 2011 10:04 am 
Cliff WellsJun 5, 2011 10:30 am 
Cliff WellsJun 5, 2011 10:59 am 
pk899Jun 5, 2011 11:18 am 
Cliff WellsJun 5, 2011 12:27 pm 
Subject:Re: URGENT: cookies don't work with nginx (proxying to apache!)
From:Cliff Wells (cli@develix.com)
Date:Jun 5, 2011 10:59:36 am
List:ru.sysoev.nginx

On Sun, 2011-06-05 at 13:04 -0400, pk899 wrote:

I ran some tests, and it seems one of the issues is that if cookies are being set in a page, then the "header(location: xyz)' command does not work.

Try setting the location header before setting the cookie:

header('Location: ...'); setcookie('mycookie', ...);

Cliff