Changeset 7823
- Timestamp:
- 03/12/08 09:43:38 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/storage/sfSessionTestStorage.class.php
r4890 r7823 42 42 } 43 43 44 if (array_key_exists('session_id', $_SERVER)) 44 $this->sessionId = null; 45 if ($this->getParameter('session_id')) 46 { 47 $this->sessionId = $this->getParameter('session_id'); 48 } 49 else if (array_key_exists('session_id', $_SERVER)) 45 50 { 46 51 $this->sessionId = $_SERVER['session_id']; 52 } 47 53 54 if ($this->sessionId) 55 { 48 56 // we read session data from temp file 49 57 $file = $this->getParameter('session_path').DIRECTORY_SEPARATOR.$this->sessionId.'.session';