1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- namespace Symfony\Component\HttpFoundation\Session\Storage\Handler;
- class NullSessionHandler extends AbstractSessionHandler
- {
-
-
- public function close()
- {
- return true;
- }
-
-
- public function validateId($sessionId)
- {
- return true;
- }
-
- protected function doRead($sessionId)
- {
- return '';
- }
-
-
- public function updateTimestamp($sessionId, $data)
- {
- return true;
- }
-
- protected function doWrite($sessionId, $data)
- {
- return true;
- }
-
- protected function doDestroy($sessionId)
- {
- return true;
- }
-
-
- public function gc($maxlifetime)
- {
- return 0;
- }
- }
|