method

session_options=

session_options=(options)
public

No documentation available.

# File actionpack/lib/action_dispatch/http/request.rb, line 230
    def session_options=(options)
      @env['rack.session.options'] = options
    end

1Note

Available Options and their meaning

thecec ยท Jul 2, 2011

=== key Name of the cookie for the session === secure If true, session cookie is sent only to https hosts. This protects your app from session hijacking ( remember firesheep? ) === expire_after Self explanatory (e.g. 60.minutes) === domain To which domain the cookie declares to be for

This very good post shows how to use :domain and :key to implement single-sign-on: http://itshouldbeuseful.wordpress.com/2011/02/02/rails-authlogic-and-single-sign-on/