Cookie Expiring Date
Steven Tönsing
steven.toensing at artundweise.de
Tue Feb 3 12:10:06 CET 2009
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.
My vcl is something like this.
if ( (req.http.cookie ~ "MYCOOKIE") &&
(isExpiringDateOfCookieInFuture) ){
pass;
}
Thanks Steven
More information about the varnish-misc
mailing list