JSessionHandlerJoomla
class JSessionHandlerJoomla extends JSessionHandlerNative
Interface for managing HTTP sessions
Properties
JInput | $input | The input object |
Methods
boolean
start()
Starts the session
boolean
regenerate(
boolean $destroy = false,
integer $lifetime = null)
Regenerates ID that represents this storage.
void
clear()
Clear all session data in memory.
__construct(
array $options = array())
Public constructor
Details
boolean
regenerate(
boolean $destroy = false,
integer $lifetime = null)
Regenerates ID that represents this storage.
Note regenerate+destroy should not clear the session data in memory only delete the session data from persistent storage.
void
save()
Force the session to be saved and closed.
This method must invoke sessionwriteclose() unless this interface is used for a storage object design for unit or functional testing where a real PHP session would interfere with testing, in which case it should actually persist the session data if required.