Project

General

Profile

Actions

Feature #20741

closed

Move automatic session data garbage collection to separate method

Added by Oliver Hader almost 15 years ago. Updated over 13 years ago.

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

0%

Estimated time:
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)


Files

0011509.patch (7.39 KB) 0011509.patch Administrator Admin, 2009-07-14 13:58
0011509_v2.patch (1.35 KB) 0011509_v2.patch Administrator Admin, 2009-07-19 22:29
0011509_v3.patch (1.43 KB) 0011509_v3.patch Administrator Admin, 2009-07-20 12:00
Actions #1

Updated by Oliver Hader over 14 years ago

Committed to SVN Trunk (rev. 5727)

Actions

Also available in: Atom PDF