Flowdock
method

destroy

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: Session
destroy() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/request/session.rb, line 77
      def destroy
        clear
        options = self.options || {}
        new_sid = @by.send(:destroy_session, @env, options[:id], options)
        options[:id] = new_sid # Reset session id with a new value or nil

        # Load the new sid to be written with the response
        @loaded = false
        load_for_write!
      end
Register or log in to add new notes.