Cookie Expiring Date

2009-02-03 Thread Steven Tönsing
Hi everyone, I'm just trying to get the vanish 2.0.2 running in front of a cms. The problem is, the user need to be passed to the backend if the admin cookie is set and valid. Therefore i'm wondering if there is a way to find out if the expiring date of a cookie is in the future or in the

Re: Cookie Expiring Date

2009-02-03 Thread Tollef Fog Heen
]] Steven Tönsing | Hi everyone, | I'm just trying to get the vanish 2.0.2 running in front of a cms. The | problem is, the user need to be passed to the backend if the admin | cookie is set and valid. | Therefore i'm wondering if there is a way to find out if the expiring | date of a

Re: Cookie Expiring Date

2009-02-03 Thread Michael S. Fischer
On Feb 3, 2009, at 6:25 AM, Tollef Fog Heen wrote: If it has expired, the client just won't send it, so just check req.http.cookie for the relevant cookie and you'll be fine. I strongly advise against this, as it could subject you to replay attacks. That said, the client does not include an