Provide function to regenerate RawStore within session #4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "zeripath/session:regenerate-session-function"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is currently no easy way to regenerate the session id within Sessioner
meaning it is hard to update the session ID early on in a request tree.
RegenerateSession will look in the request scope for the session, grab the session
release, regenerate and then flush the old session before updating the RawStore in the
session.
Signed-off-by: Andrew Thornton art27@cantab.net
How about to add a test?
I've added tests and fixed some issues.