method

destroy

Importance_0
v7.0.0 - 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 95
      def destroy
        clear

        if enabled?
          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
      end
Register or log in to add new notes.