[ic] [timed-build] not working for logged in users

Peter peter at pajamian.dhs.org
Tue Jul 11 19:44:45 EDT 2006

On 07/11/2006 04:39 PM, Jon Jensen wrote:
> On Tue, 11 Jul 2006, Peter wrote:
>>> Take a look at sub timed_build in lib/Vend/Interpolate.pm. I don't 
>>> see anything other than force=1 that would allow it to work with 
>>> logged-in users.
> [snip]
>> It sure looks like $opt->{login} is in there to me.
> You're right. I wasn't considering auto=1.
>> [auto] implies login=1, but will still abort if no session ID cookie 
>> has been sent. Use force=1 to ignore cookie status.
> That's what I originally said, isn't it? Use force=1. Grant was looking 
> for an explanation of why that's necessary. My answer was and remains, 
> read the code and use force=1 and don't put user-specific data in timed 
> builds.

The problem with using force=1 is people without cookies will loose 
thier session if they follow any internal links, login=1 seems to be 
intended to remedy this by allowing logged in users to use the cache, 
but only if they send a session cookie.


More information about the interchange-users mailing list