class Athena::HTTP::Session::Storage::Handler::Null
inherits Athena::HTTP::Session::Storage::Handler::AbstractHandler
#
A handler that does not persist sessions, so each request starts with an empty session.
Useful for applications that do not want sessions to be persisted, while still being able to use the session within a request.
Methods#
#gc(max_lifetime : Int32) : Int32#
Removes the sessions that were not used in the last max_lifetime seconds. Returns how many sessions were removed.