nginx keeping session
zhang.libing at gmail.com
Wed Oct 22 19:01:17 MSD 2008
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 <dave at 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.
The time you enjoy wasting is not wasted time!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx