I''m trying to use one Rails app on different domains at the same time. I also use subdomains. According to some tip I use: session :session_domain => ''.domain.tld'' in application.rb How can I access request object so I can do: session :session_domain => "." + request.host.split(''.'')[-3..-1].join(''.'') Thanks -- Posted via http://www.ruby-forum.com/.
Seemingly Similar Threads
- Dynamically setting the session domain?
- Sharing sessions across subdomains
- Multiple top level domains and one session
- How do you create one session cookie for multiple subdomains
- dehydrated hook for LetsEncrypt certs and samba dns (was: samba-tool auth in scripts)