Resets the session by clearing out all the objects stored within and initializing a new session object.
Source Code
# File action_controller/base.rb, line 1095 def reset_session #:doc: request.reset_session @_session = request.session response.session = @_session end
<code/>and<pre/>for code samples.