]] 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 past.

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.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to