maintain_sessions(value = nil)
click to toggle source
This is more of a convenience method. In order to turn off automatic maintenance of sessions just set this to false, or you can also set the session_ids method to a blank array. Both accomplish the same thing. This method is a little clearer in it's intentions though.
-
Default: true
-
Accepts: Boolean
# File lib/authlogic/acts_as_authentic/session_maintenance.rb, line 35 def maintain_sessions(value = nil) rw_config(:maintain_sessions, value, true) end
Also aliased as: maintain_sessions=