Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 716 → Rev 715

/trunk/includes/classes/OIDplusSessionHandler.class.php
86,14 → 86,12
private $cacheSetValues = array(); // Important if you do a setValue() followed by an getValue()
 
public function setValue($name, $value) {
$enc_data = self::encrypt($value, $this->secret);
$this->cacheSetValues[$name] = self::encrypt($value, $this->secret);
 
$this->cacheSetValues[$name] = $enc_data;
 
$this->sessionSafeStart();
OIDplus::cookieUtils()->setcookie(session_name(),session_id(),time()+$this->sessionLifetime);
 
$_SESSION[$name] = $enc_data;
$_SESSION[$name] = self::encrypt($value, $this->secret);
}
 
public function getValue($name, $default = NULL) {