I use this module to restrict access to testing environments and I have it disabled in production.
While disabled, the module sets an empty session cookie to anonymous users which prevents HTTP proxies from caching anonymous pages.
Varnish started working after applying the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | restrict_ip-do_not_force_session_start-12345-3.patch | 654 bytes | drupalove |
| #2 | restrict_ip-do_not_force_session_start-2930244-1.patch | 662 bytes | drupalove |
Comments
Comment #2
drupalove commentedComment #3
drupalove commentedA small change to patch. Both work.
Comment #4
drupalove commentedJust want to clarify by saying the module is disabled I mean in the module configuration page the 'enable Restricted IPs' checkbox is not ticked.
Comment #6
jaypanThanks, I was confused there, as the module will not do anything when disabled.
I've applied your patch.