#202 √ resolved
coryodaniel(midget_nuts|codaniel)

[PATCH] Set session id key and expiry from Merb::Config

Reported by coryodaniel(midget_nuts|codaniel) | March 11th, 2008 @ 09:43 PM

Can do Merb::Config.use |c|

c[:session_id_key] = "my super key"

c[:session_expiry] = Merb::Const::WEEK * 0.5

end

This will set Merb::Controller session_id_key and session_expiry rather than them default to what was staticly typed in in merb_controller.rb

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »