Last active
December 29, 2015 13:29
-
-
Save bryanp/7678061 to your computer and use it in GitHub Desktop.
Pakyow 0.8 - session middleware example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pakyow::App.define do | |
# ... | |
middleware do | |
use Rack::Session::Cookie, :key => 'myapp.session', :secret => 'shhh' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment