Added feature #11510: Store timestamp of last modification of session data to fronten...
authorOliver Hader <oliver.hader@typo3.org>
Wed, 15 Jul 2009 15:23:50 +0000 (15:23 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 15 Jul 2009 15:23:50 +0000 (15:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5717 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_feuserauth.php

index 79432c5..f545668 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-15  Oliver Hader  <oliver@typo3.org>
+
+       * Added feature #11510: Store timestamp of last modification of session data to frontend user object
+
 2009-07-14  Oliver Hader  <oliver@typo3.org>
 
        * Added feature #11508: Integrate possibility to define lifetime of frontend session data
index afae03d..068d4b1 100644 (file)
@@ -133,6 +133,7 @@ class tslib_feUserAuth extends t3lib_userAuth {
        var $sesData = Array();
        var $sesData_change = 0;
        var $userData_change = 0;
+       protected $sessionDataTimestamp;
 
 
        /**
@@ -372,6 +373,7 @@ class tslib_feUserAuth extends t3lib_userAuth {
                        $dbres = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'fe_session_data', 'hash='.$GLOBALS['TYPO3_DB']->fullQuoteStr($this->id, 'fe_session_data'));
                        if ($sesDataRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbres))        {
                                $this->sesData = unserialize($sesDataRow['content']);
+                               $this->sessionDataTimestamp = $sesDataRow['tstamp'];
                        }
                        $GLOBALS['TYPO3_DB']->sql_free_result($dbres);
                }