SessionManager

Manager for interacting with the session handler to perform updates on sessions.

final
since

4.0.0

package

Joomla CMS

Methods

__construct

SessionManager constructor.

__construct(\SessionHandlerInterface sessionHandler) : 
since

4.0.0

Arguments

sessionHandler

SessionHandlerInterfaceSession handler.

Response

mixed

destroySession

Destroys the given session ID.

destroySession( sessionId) : 
since

4.0.0

Arguments

sessionId

stringThe session ID to destroy.

Response

bool

destroySessions

Destroys the given session IDs.

destroySessions(string||string|int sessionIds) : 
since

4.0.0

Arguments

sessionIds

array<string|int, string>The session IDs to destroy.

Response

bool

Properties

sessionHandler

Session handler.

since

4.0.0

Type(s)

SessionHandlerInterface