nginx keeping session

张立冰 zhang.libing at
Wed Oct 22 19:01:17 MSD 2008

session keeping?
maybe config with ip_hash can help you to do this job.
and the document

On Wed, Oct 22, 2008 at 7:08 PM, Dave Cheney <dave at> 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
> Dave

The time you enjoy wasting is not wasted time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list