Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SessionTimer requires session middleware #14

Open
rsutphin opened this issue Oct 4, 2011 · 1 comment
Open

SessionTimer requires session middleware #14

rsutphin opened this issue Oct 4, 2011 · 1 comment
Labels

Comments

@rsutphin
Copy link
Contributor

rsutphin commented Oct 4, 2011

Aker's SessionTimer middleware fails if there is no session middleware installed (i.e., if there is no env['rack.session']). Since it is installed by default by Aker::Rack.use_in, it should gracefully do nothing if there's no session.

@rsutphin
Copy link
Contributor Author

rsutphin commented Oct 5, 2011

@yipdw pointed out that warden requires session middleware, so fixing this in SessionTimer would be pointless. It might be worthwhile to give a better error message, though, so I'm going to leave the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant