Provide function to regenerate RawStore within session #4

Merged
zeripath merged 2 commits from zeripath/session:regenerate-session-function into master 2021-12-18 22:16:15 +00:00

2 Commits

Author SHA1 Message Date
e375b87ea5
add tests
All checks were successful
continuous-integration/drone/pr Build is passing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-18 17:02:03 +00:00
fada65c986
Provide function to regenerate RawStore within session
All checks were successful
continuous-integration/drone/pr Build is passing
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>
2021-12-18 15:35:53 +00:00