There is presently no easy way to clear expired session entries from the configured session store. In order to allow for that, we should introduce a few things:
Session store implementations should define a #clear_expired_entries method (this should be an abstract method in the Marten::HTTP::Session::Store::Base class).
A new clearsessions management command should be introduced in order to leverage this new capability and manually clear expired sessions.
Description
There is presently no easy way to clear expired session entries from the configured session store. In order to allow for that, we should introduce a few things:
#clear_expired_entries
method (this should be an abstract method in theMarten::HTTP::Session::Store::Base
class).clearsessions
management command should be introduced in order to leverage this new capability and manually clear expired sessions.