Page MenuHomeDevCentral

Sessions cleaning code hijack sessions from other sites sharing the table.
Open, NormalPublic

Description

Filed on Espace Win Bugzilla 2013-01-19 03:32 UTC.

Current query:

UPDATE sessions SET session_resource = <current resource> AND session_online = 0 WHERE <time condition>

Should be:

UPDATE sessions SET session_online = 0 WHERE session_resource = <current resource> AND <time condition>

Should be fixed in Pluton code too, Azhàr/Zed are ok, they still use the old code.

Event Timeline

2013-01-19 03:51:09 UTC comment:

Fixed on Pluton - http://hg.dereckson.be/pluton/commits/812f255fdc46fa5d776cbfa2b42da2bcdceecd16

Fixed on Keruald (Bitbucket) - http://hg.dereckson.be/keruald/commits/082bdaaab19825dd1e95aeaaff781136b8015d2f

Can't fix it on SourceForge: site is 500 for Mercurial stuff, old repo folder is empty on shell. Were a bad idea to migrate the project.

dereckson triaged this task as Normal priority.EditedTue, Nov 11, 02:47

Plan is to create Keruald Elements with bricks to build frameworks, including the Session class.

But with last requirement on Obsidian to split concerns between User and UserRepository, we need to devise an base abstract class or an interface for the session code.

(That's probably for T1714.)