Please sign in to comment.
Force reloading of the session after destroy
Use load_for_write! to ensure a refresh of the session object. This way the new session_id and the empty data will be stored properly. E.g. in the case of the session cookie store this means that a new digest will be returned to the user.
- Loading branch information...
Showing with 3 additions and 0 deletions.