aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTeddy Wing2015-12-08 00:51:14 -0500
committerTeddy Wing2015-12-08 00:51:14 -0500
commit6b352f5a238524f9031c499191a476debecbc9fb (patch)
treee5741f32f27c0ac5d98bbedfe3af2f85d54be728 /test
parent28770a5143bb5b48389d5ad4ce235625c12f1056 (diff)
downloadRuby-Web-Sessions-Exercise-6b352f5a238524f9031c499191a476debecbc9fb.tar.bz2
app.rb: Add basic session handling
When logging in with the correct credentials, set a session variable and redirect to the login page. Custom display for a user who is logged in. Add a logout method to delete the session variable, thus logging out the user. Use Rack's built-in session cookies to facilitate session management.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions