Public Instance methods
clear_session()
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.
[show source]
# File lib/roda/plugins/sessions.rb 227 def clear_session 228 session.clear 229 env.delete(SESSION_CREATED_AT) 230 env.delete(SESSION_UPDATED_AT) 231 nil 232 end