Strange behaviour when logged in
Hi Lodewijk,
It seems like the user's logged-in status is having an effect on the values that Low Variables display in my templates.
I've created a test template which outputs a single Low Variable.
If I change the value of the variable and reload the test page while still logged in, it does not change on the front-end. However, if I reload the test page in a browser that is not logged in, the new value is shown as expected.
Also, if I log out and reload the page, the new value is shown. But when I log back in to EE, the old value returns.
I suspect this is related to the cache, because using "Tools > Cache > Clear Cached Data" puts things back in sync. However I don't know how to prevent this.
I'll note that this is occurring shorty after the problem I noted here (http://gsfn.us/t/3aoxu), although I don't know if it's related.
Can you offer any info? Thanks in advance.
-Dylan
Replies
Low 20 Dec 2012 23:54
The upcoming version of LV will have a 'clear cache' option. For now, you'll need to clear the cache manually (if you're caching data in your templates) to see the changes you make in the vars on the front end.
Dylan 21 Dec 2012 15:30
I see, maybe the problem is that I've inadvertently enabled caching data in my templates. I'll look into this. Thanks.