views:

26

answers:

1

Is there a way to set the expiration date for the session cookies created by Authlogic?

A: 

See the documentation for the Cookies session plugin. In your UserSession you should be able to specify:

class UserSession < Authlogic::Session::Base
  remember_me_for 1.day
end
Jacob