9 messages in ru.sysoev.nginxRe: nginx keeping session
FromSent OnAttachments
Glen LumanauOct 21, 2008 10:34 pm 
mikeOct 21, 2008 10:47 pm 
Glen LumanauOct 21, 2008 10:50 pm 
mikeOct 21, 2008 10:56 pm 
Dave CheneyOct 21, 2008 11:17 pm 
mikeOct 22, 2008 3:26 am 
Dave CheneyOct 22, 2008 4:08 am 
张立冰Oct 22, 2008 8:00 am 
mikeOct 22, 2008 12:28 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx keeping sessionActions...
From:张立冰 (zhan@gmail.com)
Date:Oct 22, 2008 8:00:54 am
List:ru.sysoev.nginx

session keeping? maybe config with ip_hash can help you to do this job. and the document http://wiki.codemongers.com/NginxHttpUpstreamModule

On Wed, Oct 22, 2008 at 7:08 PM, Dave Cheney <da@cheney.net> wrote:

eh, depending on what you're storing couldn't it hit the RFC cookie

limit pretty easily?

The only piece of data you would need is the user id. Everything else can be deduced from that.

i suppose it has some sort of key and expiry in it so people can't

spoof alternate expiry times etc.

Not really sure, haven't used it in production and I'm not working with rails at the moment. You make a good point thou, you probably need two things, the user id, and an expiry time encoded in the cookies value.

Cheers