On Thu, May 17, 2018 at 04:08:18PM -0400, Richard Hipp wrote:
> On 5/17/18, Joerg Sonnenberger <jo...@bec.de> wrote:
> > On Thu, May 17, 2018 at 07:02:17PM +0200, Florian Balmer wrote:
> >> So I tried to to generate a "login-time-sensitive" ETag. This worked well
> >> with the "cexpire" field from the "user" table (which is actually the
> >> login
> >> time, shifted to the future by one unit of the "cookie-expire" setting).
> >
> > Would a vary-on-cookie solve this already?
> >
> 
> Fossil uses two cookies:  One for the login and a separate "display
> cookie" to remember display preferences.  The ETag values already
> reset based on changes to the display cookie.  I suppose they could
> change again based on the login cookie.  The question is, would this
> solve Florent's problem?

I don't think you need to reset it, just sending the vary header should
be enough?

Joerg
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to