Feature #20741

Move automatic session data garbage collection to separate method

Added by Oliver Hader almost 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-07-13
Due date:
% Done:

0%

PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

Sessions and session data are currently cleaned up automatically and randomly after 100 requests ("rand()%100"). When a frontend user session is bound to the session data table, this can lead to inconsistencies since one of these parts might be cleaned up without cleaning the other part. The result could be a still logged in frontend user without any session data containing basket items.

Solution:
Move the garbage collection of session data to a separate method. Thus, in special cases it can be overriden by XCLASS and does not change the regular behaviour.

(issue imported from #M11509)

0011509.patch View (7.39 KB) Administrator Admin, 2009-07-14 13:58

0011509_v2.patch View (1.35 KB) Administrator Admin, 2009-07-19 22:29

0011509_v3.patch View (1.43 KB) Administrator Admin, 2009-07-20 12:00

History

#1 Updated by Oliver Hader almost 11 years ago

Committed to SVN Trunk (rev. 5727)

Also available in: Atom PDF