Project

General

Profile

Bug #16637 » 4367_v1.diff

Administrator Admin, 2009-02-24 17:31

View differences:

typo3/sysext/cms/tslib/class.tslib_feuserauth.php (working copy)
// Storing value ONLY if there is a confirmed cookie set (->cookieID), otherwise a shellscript could easily be spamming the fe_sessions table with bogus content and thus bloat the database
if (!$maxSizeOfSessionData || $this->cookieId===$this->id) {
if ($recs['clear_all']) {
$this->setKey('ses','recs','');
$this->setKey('ses', 'recs', array());
}
$change=0;
$recs_array=$this->getKey('ses','recs');
(3-3/4)