Changeset 37 for trunk/patSession/Storage.php
- Timestamp:
- 01/16/06 10:32:15 (3 years ago)
- Files:
-
- trunk/patSession/Storage.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/patSession/Storage.php
r35 r37 5 5 * $Id$ 6 6 * 7 * @version 1.1. 27 * @version 1.1.3 8 8 * @package patSession 9 9 * @subpackage Storage … … 270 270 { 271 271 if( $this->_state !== 'active' ) { 272 returnpatErrorManager::raiseError( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE,272 $error =& patErrorManager::raiseError( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE, 273 273 'Cannot set value because session not active.', 274 274 'Either the session was destroyed, has expired or locked by security' 275 275 ); 276 return $error; 276 277 } 277 278 … … 291 292 { 292 293 if( $this->_state !== 'active' ) { 293 returnpatErrorManager::raiseWarning( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE,294 $error =& patErrorManager::raiseWarning( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE, 294 295 'Cannot recieve value because session not active.', 295 296 'Either the session was destroyed, has expired or locked because of security reasons.' 296 297 ); 298 return $error; 297 299 } 298 300 … … 315 317 { 316 318 if( $this->_state !== 'active' ) { 317 returnpatErrorManager::raiseWarning( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE,319 $error =& patErrorManager::raiseWarning( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE, 318 320 'Cannot recieve value because session not active.', 319 321 'Either the session was destroyed, has expired or locked because of security reasons.' 320 322 ); 323 return $error; 321 324 } 322 325 … … 428 431 if( $this->_state !== 'active' ) { 429 432 if( !$this->_checkSecurity( true ) ) { 430 returnpatErrorManager::raiseNotice( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE,433 $error =& patErrorManager::raiseNotice( 'patSession:' . PATSESSION_ERROR_NOT_ACTIVE, 431 434 'Session is not active.', 432 435 'Either the session was destroyed, has expired or locked because of security reasons: '. $this->_state.'.' 433 436 ); 437 return $error; 434 438 } 435 439 }
