Homec4science

WebSession: dirty session support

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Oct 15 2012, 11:06.

Description

WebSession: dirty session support

  • Adds a new property to the InvenioSession class called dirty, that can flag a session as dirty and hence worth being made persistent, in particular if it contains useful keys.
  • Amended BibAuthorid usage of session.save() to use session.dirty = True, so that saving is performed only once per request.

Co-authored-by: Samuele Carli <samuele.carli@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Oct 17 2012, 10:33
Parents
R3600:bb9fcd56a7d3: Merge branch 'maint-1.0' into maint-1.1
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:a39d0a5539f1: WebSession: dirty session support (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Oct 17 2012, 10:33