Varnish problem, user logged out for a HIT page Have someone experienced simmilar problem, I've installed Varnish(v3, on Debian 6, Drupal 7), and also Varnish Drupal module, conigured settings php and vcl, and everything seems to work fine, except Logged-in users sometimes get "logged out", ie when they click on link they are redirected to cached Varnish page (HIT). For pages that are MISS everything is fine.

How can in enforce for logged in user to never hit cached page, thus get logged out?

Administrative pages are working well and never express such behaviour, as i followed few tutorials/setting how to setup vcl and config files.

Thanks!
Maybe too late, but I had exactly the same problem, I spent two days looking for what is wrong, then I read in settings.php:


  Without "Vary:Cookie", authenticated users would also be served the
  anonymous page from the cache.


So change 'ommit_vary_cookies' from TRUE to FALSE in settings.php solved the problem.

$conf['omit_vary_cookie'] = FALSE;