Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi
I have installed varnish-cache 3.x with varnish module in drupal 7. Varnish is working quite good for anonymous users. But the problem is when I am trying to login using login block from any page other than "user". The user will not logged in.
Comments
Comment #1
melsawy CreditAttribution: melsawy commented+1
Comment #2
heddnIt seems like its an issue with your vcl. Have you looked at #1196916: Drupal 7.x and Varnish 3.x - Example default.vcl? I'm going to assume you need to let the SESS_xxxx cookie pass through to drupal.
Comment #3
heddnComment #4
andres.torres CreditAttribution: andres.torres commentedI'm experiencing the same behaviour with Varnish 7.x-1.0-beta3, Drupal 7.37, Varnish 3, Apache 2.4. The user login block just won't login the user.
vcl config files:
https://fourkitchens.atlassian.net/wiki/display/TECH/Configure+Varnish+3...
https://www.lullabot.com/sites/lullabot.com/files/default_varnish3.vcl_.txt
http://antrecu.com/blog/run-drupal-varnish-3x-ubuntu
https://github.com/halcyonCorsair/varnish-for-drupal/blob/master/etc/var...
Comment #5
andres.torres CreditAttribution: andres.torres commented