Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2536 (closed defect: migrated)

Opened 8 years ago

Last modified 8 years ago

Beaker persists the session on every request in tg2

Reported by: qwcode Owned by:
Priority: normal Milestone: __unclassified__
Component: TurboGears Version: 2.2
Severity: normal Keywords:
Cc:

Description

the core tg2 controller, "TGController" calls setup_i18n() on every request. setup_i18n() peforms a get on the session, which triggers Beaker to persist the session (irregardless of whether my controller code gets or updates the session).

Is this accurate?

if so, this is problematic for ajax apps that want to maintain a session. there is no way to protect against interference and overwrites of the session.

Change History

comment:1 Changed 8 years ago by pedersen

  • Status changed from new to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.