Session.php
system/Session/Session.php
1 class
33 methods
class Session
Implementation of CodeIgniter session container. Session configuration is done through session variables and cookie related variables in app/config/App.php
__construct
(SessionHandlerInterface $driver, SessionConfig $config)
start
()
stop
()
configure
()
configureSidLength
()
initVars
()
regenerate
(bool $destroy = false)
removeOldSessionCookie
()
destroy
()
close
()
set
($data, $value = null)
get
(?string $key = null)
has
(string $key)
push
(string $key, array $data)
remove
($key)
__set
(string $key, $value)
__get
(string $key)
__isset
(string $key)
setFlashdata
($data, $value = null)
getFlashdata
(?string $key = null)
keepFlashdata
($key)
markAsFlashdata
($key)
unmarkFlashdata
($key)
getFlashKeys
()
setTempdata
($data, $value = null, int $ttl = 300)
getTempdata
(?string $key = null)
removeTempdata
(string $key)
markAsTempdata
($key, int $ttl = 300)
unmarkTempdata
($key)
getTempKeys
()
setSaveHandler
()
startSession
()
setCookie
()