lib/roda/plugins/sessions.rb
# Clear data from the session, and update the request environment
# so that the session cookie will use a new creation timestamp
# instead of the previous creation timestamp.
Clear data from the session, and update the request environment
so that the session cookie will use a new creation timestamp
instead of the previous creation timestamp.
Clear data from the session and update the request environment so that the session cookie will use a new creation timestamp instead of the previous creation timestamp .
def clear_session
          session.clear
          env.delete(SESSION_CREATED_AT)
          env.delete(SESSION_UPDATED_AT)
          nil
        end
def clear_session session . clear env . delete ( SESSION_CREATED_AT ) env . delete ( SESSION_UPDATED_AT ) nil end
Clear data from the session, and update the request environment
so that the session cookie will use a new creation timestamp
instead of the previous creation timestamp.
Clear data from the session and update the request environment so that the session cookie will use a new creation timestamp instead of the previous creation timestamp .