Development

Changeset 8980

You must first sign up to be able to contribute.

Changeset 8980

Show
Ignore:
Timestamp:
05/15/08 17:53:34 (2 months ago)
Author:
fabien
Message:

added a check to ensure that session.gc_maxlifetime is greater that user authentication timeout (closes #2139)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/user/sfBasicSecurityUser.class.php

    r7970 r8980  
    226226    } 
    227227 
     228    // force the max lifetime for session garbage collector to be greater than timeout 
     229    if (ini_get('session.gc_maxlifetime') < $this->options['timeout']) 
     230    { 
     231      ini_set('session.gc_maxlifetime', $this->options['timeout']); 
     232    } 
     233 
    228234    // read data from storage 
    229235    $this->authenticated = $storage->read(self::AUTH_NAMESPACE);