Changeset 6505
- Timestamp:
- 12/14/07 14:09:26 (9 months ago)
- Files:
-
- trunk/lib/storage/sfSessionStorage.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/storage/sfSessionStorage.class.php
r4890 r6505 26 26 class sfSessionStorage extends sfStorage 27 27 { 28 static protected 29 $sessionStarted = false; 30 28 31 /** 29 32 * Initializes this Storage instance. … … 68 71 } 69 72 70 if ($this->getParameter('auto_start', true) )73 if ($this->getParameter('auto_start', true) && !self::$sessionStarted) 71 74 { 72 // start our session73 75 session_start(); 76 self::$sessionStarted = true; 74 77 } 75 78 }