Method |
Description |
|
addTag ( string $tag ) : void |
Tags this session with the given tag. |
|
canBeResumed ( ) : boolean |
Returns TRUE if there is a session that can be resumed. FALSE otherwise |
|
close ( ) : void |
Closes the session |
|
collectGarbage ( ) : void |
No operation for transient session. |
|
destroy ( string $reason = null ) : void |
Explicitly destroys all session data |
|
destroyAll ( Bootstrap $bootstrap ) : void |
No operation for transient session. |
|
getData ( string $key ) : mixed |
Returns the data associated with the given key. |
|
getId ( ) : string |
Returns the current session ID. |
|
getLastActivityTimestamp ( ) : integer |
Returns the unix time stamp marking the last point in time this session has
been in use. |
|
getTags ( ) : array |
Returns the tags this session has been tagged with. |
|
hasKey ( string $key ) : boolean |
Returns TRUE if $key is available. |
|
isStarted ( ) : boolean |
Tells if the session has been started already. |
|
putData ( string $key, object $data ) : void |
Stores the given data under the given key in the session |
|
removeTag ( string $tag ) : void |
Removes the specified tag from this session. |
|
renewId ( ) : string |
Generates and propagates a new session ID and transfers all existing data
to the new session. |
|
resume ( ) : void |
Resumes an existing session, if any. |
|
start ( ) : void |
Starts the session, if it has not been already started |
|
touch ( ) : void |
Updates the last activity time to "now". |
|