Can varnish distinction user is login or logout

Michael Save savetheinternet at omegasdg.com
Fri Feb 10 04:20:07 CET 2012


On Fri, Feb 10, 2012 at 1:25 PM, Jewel Nuruddin
<jewel.nuruddin at eastbeam.co.jp> wrote:
> Hi
> Is there any way to find out in varnish whether user is login or logout ?
> Thanks
> Jewel
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Hi,

You'll have to be much more specific. When someone is "logged in", I'm
assuming they have a cookie that signifies that, correct? Can you just
check if that cookie is existent? It really depends on the web
application, but in most cases, checking if a cookie exists (and is
valid?) should be suffice.

Cheers,
Michael



More information about the varnish-misc mailing list