This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Cache and security

Discussion relating to version 1.3.x and 1.4.x

Cache and security

by shakly » Mon Feb 17, 2014 10:30 am

HI,

I have a mistake for a module witch is for user only and i like to use cache for it.
But if the first to visite the page is login, then the cache contains the page and everyone can see it. If the first to visite the page is not login, then the cache contains the form to connect and then people who are login always see this form.

The module configuration is simple :
cache.yml :
Code: Select all
default:
  enabled:    true


security.yml :
Code: Select all
default:
  is_secure: true;
  credentials: [[client, admin, commerciaux]]


They might be a simple option but i didn't found it.

Thank for your help.
shakly
Junior Member
 
Posts: 7
Joined: Fri Sep 09, 2011 5:11 pm

Re: Cache and security

by shakly » Thu Feb 27, 2014 4:39 pm

Up
shakly
Junior Member
 
Posts: 7
Joined: Fri Sep 09, 2011 5:11 pm