Index: trunk/kernel/units/general/inp_ses_storage.php =================================================================== diff -u -N -r3031 -r3282 --- trunk/kernel/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 3031) +++ trunk/kernel/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 3282) @@ -76,7 +76,7 @@ function GetExpiredSIDs() { - $query = ' SELECT '.$this->IDField.' FROM '.$this->TableName.' WHERE '.time().' - '.$this->TimestampField.' > '.$this->SessionTimeout; + $query = ' SELECT '.$this->IDField.' FROM '.$this->TableName.' WHERE '.adodb_mktime().' - '.$this->TimestampField.' > '.$this->SessionTimeout; $ret = $this->Conn->GetCol($query); if($ret) $this->DeleteEditTables(); return $ret;