Module | Authlogic::Session::Cookies::InstanceMethods |
In: |
lib/authlogic/session/cookies.rb
|
The methods available for an Authlogic::Session::Base object that make up the cookie feature set.
Accepts a boolean as to whether the cookie should be marked as httponly. If true, the cookie will not be accessable from javascript
Accepts a boolean as a flag to remember the session or not. Basically to expire the cookie at the end of the session or keep it for "remember_me_until".
Has the cookie expired due to current time being greater than remember_me_until.
How long to remember the user if remember_me is true. This is based on the class level configuration: remember_me_for
When to expire the cookie. See remember_me_for configuration option to change this.
Accepts a boolean as to whether the cookie should be marked as secure. If true the cookie will only ever be sent over an SSL connection.