web\Session destroySession()

destroySession() public method Session destroy handler. This method should be overridden if $useCustomStorage returns true. Do not call this method directly. public boolean destroySession ( $id )$id string Session ID return boolean Whether session is destroyed successfully

web\Session destroy()

destroy() public method Frees all session variables and destroys all data registered to a session. public void destroy ( )

web\Session count()

count() public method Returns the number of items in the session. This method is required by Countable interface. public integer count ( )return integer Number of items in the session.

web\Session closeSession()

closeSession() public method Session close handler. This method should be overridden if $useCustomStorage returns true. Do not call this method directly. public boolean closeSession ( )return boolean Whether session is closed successfully

web\Session close()

close() public method Ends the current session and store session data. public void close ( )

web\Session addFlash()

addFlash() public method Adds a flash message. If there are existing flash messages with the same key, the new one will be appended to the existing message array. See also: getFlash() setFlash() removeFlash() public void addFlash ( $key, $value = true, $removeAfterAccess = true )$key string The key identifying the flash message. $value mixed Flash message $removeAfterAccess boolean Whether the flash message should be automatically removed only if it is accessed. If false, the flash m

web\Session $useTransparentSessionID

$useTransparentSessionID public property Whether transparent sid support is enabled or not, defaults to false. public boolean getUseTransparentSessionID ( )public void setUseTransparentSessionID ( $value )

web\Session $useCustomStorage

$useCustomStorage public read-only property Whether to use custom storage. public boolean getUseCustomStorage ( )

web\Session $useCookies

$useCookies public property The value indicating whether cookies should be used to store session IDs. public boolean|null getUseCookies ( )public void setUseCookies ( $value )

web\Session $timeout

$timeout public property The number of seconds after which data will be seen as 'garbage' and cleaned up. The default value is 1440 seconds (or the value of "session.gc_maxlifetime" set in php.ini). public integer getTimeout ( )public void setTimeout ( $value )