method

destroy

destroy()
public

No documentation available.

# File actionpack/lib/action_dispatch/request/session.rb, line 79
      def destroy
        clear
        options = self.options || {}
        @by.send(:delete_session, @req, options.id(@req), options)

        # Load the new sid to be written with the response.
        @loaded = false
        load_for_write!
      end