[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Resources/stubs/ -> SessionHandlerInterface.php (summary)

(no description)

File Size: 90 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SessionHandlerInterface:: (6 methods):
  open()
  close()
  read()
  write()
  destroy()
  gc()


Interface: SessionHandlerInterface  - X-Ref

SessionHandlerInterface for PHP < 5.4.

Extensive documentation can be found at php.net, see links:

open($savePath, $sessionName)   X-Ref
Re-initializes existing session, or creates a new one.

param: string $savePath    Save path
param: string $sessionName Session name, see http://php.net/function.session-name.php
return: bool true on success, false on failure

close()   X-Ref
Closes the current session.

return: bool true on success, false on failure

read($sessionId)   X-Ref
Reads the session data.

param: string $sessionId Session ID, see http://php.net/function.session-id
return: string Same session data as passed in write() or empty string when non-existent or on failure

write($sessionId, $data)   X-Ref
Writes the session data to the storage.

param: string $sessionId Session ID , see http://php.net/function.session-id
param: string $data      Serialized session data to save
return: bool true on success, false on failure

destroy($sessionId)   X-Ref
Destroys a session.

param: string $sessionId Session ID, see http://php.net/function.session-id
return: bool true on success, false on failure

gc($maxlifetime)   X-Ref
Cleans up expired sessions (garbage collection).

param: string|int $maxlifetime Sessions that have not updated for the last maxlifetime seconds will be removed
return: bool true on success, false on failure



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1