search for: set_session_domain

Displaying 1 result from an estimated 1 matches for "set_session_domain".

2008 Dec 18
0
Multiple top level domains and one session
...h a single login. My understanding is that this needs to be set in environment.rb and called with before_dispatch. This is what I''ve come up with: require ''activesupport'' require ''dispatcher'' module ActionController class Dispatcher def set_session_domain ActionController::Base.session_options.update :session_domain => "#{@request.host}" end before_dispatch :set_session_domain end end - - - - However, this does not seem to be working when I try and pull the values from session[:session_domain]. Any help is...