Commit ca783b0b authored by Clément OUDOT's avatar Clément OUDOT

Do not update session _lastSeen at each request (#LEMONLDAP-805)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@3712 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 70af7568
......@@ -372,7 +372,8 @@ sub retrieveSession {
$datas = $apacheSession->data;
# Update the session to notify activity, if necessary
if ( $tsv->{timeoutActivity} ) {
if ( $tsv->{timeoutActivity} and ( time() - $datas->{_lastSeen} < 60 ) )
{
$apacheSession->update( { '_lastSeen' => time } );
if ( $apacheSession->error ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment