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.

Methods

Public Instance methods

Allows you to set the remember_me option when passing credentials.

If the cookie should be marked as httponly (not accessable via javascript)

Accepts a boolean as to whether the cookie should be marked as httponly. If true, the cookie will not be accessable from javascript

Is the cookie going to expire after the session is over, or will it stick around?

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".

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.

If the cookie should be marked as secure (SSL only)

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.

[Validate]