search for: session_domain

Displaying 20 results from an estimated 40 matches for "session_domain".

2006 Jul 11
1
Dynamically setting the session domain?
Does anyone know a way to dynamically change the session_domain option of ActionController::CgiRequest? I want to have a login section on an index page (www.example.com) that takes a subdomain, username, password, authenticates, then redirects to http://#{subdomain}.mysite.com. I need to set the session_domain option (to the subdomain) dynamically so the cook...
2006 Feb 08
10
Sharing sessions between subdomains?
Hello, I know how to share sessions between subdomains in PHP. Can anyone please guide me as to how I can share sessions using Ruby? Where can I set the value of domain for which the cookie is set? I would like for a user to login on the home page and then go to blog.home.com and not have to login again. Any guidance/pointers are appreciated. Thanks''
2008 Jun 19
5
How do you create one session cookie for multiple subdomains
I am using the restful authentication plugin and am always prompted to login if a different subdomain is accessed. I have found a couple rails "solutions", but none of them seem to work: # development.rb 1. ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = ".localhost" 2. ActionController::Base.session_options[:key] = ".localhost" Does anyone
2006 Jun 02
0
dynamic session domain
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/.
2008 Dec 18
0
Multiple top level domains and one session
...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...
2018 Jul 11
2
Connection refused (61)
...$config['smtp_pass'] = '%p'; > > $config['support_url'] = 'mailto<elided>'; > > $config['log_dir'] = 'logs/'; > > $config['temp_dir'] = 'temp/'; > > $config['login_lc'] = 0; > > $config['session_domain'] = '.<elided>.org'; > > $config['des_key'] = '<elided>'; > > $config['product_name'] = '<elided>'; > > $config['http_received_header'] = true; > > $config['plugins'] = array('contextmenu',...
2009 Mar 21
3
Multi-Site sessions
Hi all, Im developing an application that runs on multiple physical boxes (and thus different hostnames). Both of the boxes will run the same application (connecting to a shared postgres server). What I need is when someone logs in on box 1 (ie. box1.domain.com), and then traverses via a link to box 2 (ie. box2.domain.com), he or she will not have to login again. How can I do this? Thanks Petr
2006 Mar 07
2
memcached and Joe Hosteny''s Salted Hash Login Generator
Hey, so - I''ve been fiddling about and fell in to use Joe''s simple-yet- painful SHLG (I shouldn''t complain... not at least I have time to produce one :)). I just recently plugged in memcache, and- it''s not preserving my login. I traced the execution and it sets the output of User.authenticate (a user AR object) into @session[''user'']
2018 Jul 11
2
Connection refused (61)
...port_url'] = 'mailto<elided>'; > > > > $config['log_dir'] = 'logs/'; > > > > $config['temp_dir'] = 'temp/'; > > > > $config['login_lc'] = 0; > > > > $config['session_domain'] = '.<elided>.org'; > > > > $config['des_key'] = '<elided>'; > > > > $config['product_name'] = '<elided>'; > > > > $config['http_received_header'] = true; > >...
2006 Jul 03
3
Sharing Session Between Two Applications
Hi We have a rails application deployed and working fine. Along with this, we are planning to add "Opinion" forum. The url of the forum will be like http://forum.mymainsite.com Is it possible to share the session (that is, if the user is already logged in on the main site, he need not log in again on the forum section). Is it possible to add the ''opinion'' as a
2018 Jul 11
2
Connection refused (61)
Dear list, in a box with the following setup: openbsd 6.3 opensmtpd dovecot 2.2.34 roundcubemail 1.3.5 httpd web server when a system user is authenticated via roundcubemail and tries to send an email, the following errors pops in the roundcube log file: Connection refused (61) Failed to connect socket: Connection refused () here is my roundcube config file: $config['default_host']
2018 Jul 11
2
Connection refused (61)
...> > > $config['log_dir'] = 'logs/'; > > > > > > $config['temp_dir'] = 'temp/'; > > > > > > $config['login_lc'] = 0; > > > > > > $config['session_domain'] = '.<elided>.org'; > > > > > > $config['des_key'] = '<elided>'; > > > > > > $config['product_name'] = '<elided>'; > > > > > > $config...
2006 Mar 09
4
cross domain cookies
Does anybody know how to access the domain of a cookie from inside rails? I am try to integrate phpbb forums into my site and one of the things phpbb does is store a cookie. The forums are at forums.domain.com and the site is www.domain.com so i needed to set the cookie domain in phpbb to just be ".domain.com" so both sites can access it. The trouble is when using cookies[] in rails,
2018 Jul 11
4
Connection refused (61)
...39;logs/'; > > > > > > > > $config['temp_dir'] = 'temp/'; > > > > > > > > $config['login_lc'] = 0; > > > > > > > > $config['session_domain'] = '.<elided>.org'; > > > > > > > > $config['des_key'] = '<elided>'; > > > > > > > > $config['product_name'] = '<elided>'; > >...
2018 Jul 11
2
Connection refused (61)
...; > > > > > $config['temp_dir'] = 'temp/'; > > > > > > > > > > $config['login_lc'] = 0; > > > > > > > > > > $config['session_domain'] = '.<elided>.org'; > > > > > > > > > > $config['des_key'] = '<elided>'; > > > > > > > > > > $config['product_name'] = '&l...
2006 Jan 17
10
ActiveRecord + memcache = cached_model
...'my_rails_app'', :readonly => false, :urlencode => false } CACHE = MemCache.new memcache_options CACHE.servers = ''localhost:11211'' session_options = { :database_manager => CGI::Session::MemCacheStore, :cache => CACHE, :session_domain => ''trackmap.robotcoop.com'' } ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update session_options You will need separate namespaces for production and development, if using memcache on the same machine. Note that using memcache with tests will cause test f...
2018 Jul 11
2
Connection refused (61)
...> $config['temp_dir'] = 'temp/'; > > > > > > > > > > > > $config['login_lc'] = 0; > > > > > > > > > > > > $config['session_domain'] = '.<elided>.org'; > > > > > > > > > > > > $config['des_key'] = '<elided>'; > > > > > > > > > > > > $conf...
2018 Jul 11
0
Connection refused (61)
...$config['smtp_user'] = '%u'; $config['smtp_pass'] = '%p'; $config['support_url'] = 'mailto<elided>'; $config['log_dir'] = 'logs/'; $config['temp_dir'] = 'temp/'; $config['login_lc'] = 0; $config['session_domain'] = '.<elided>.org'; $config['des_key'] = '<elided>'; $config['product_name'] = '<elided>'; $config['http_received_header'] = true; $config['plugins'] = array('contextmenu','automatic_addressbook','...
2006 Jan 30
0
cached_model-1.0.1 ActiveRecords + memcache
...'my_rails_app'', :readonly => false, :urlencode => false } CACHE = MemCache.new memcache_options CACHE.servers = ''localhost:11211'' session_options = { :database_manager => CGI::Session::MemCacheStore, :cache => CACHE, :session_domain => ''trackmap.robotcoop.com'' } ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update session_options You will need separate namespaces for production and development, if using memcache on the same machine. Note that using memcache with tests will cause test f...
2005 Dec 25
1
How to use mem_cache_store?
...amespace => ''ruby-forum.com'', :readonly => false, :urlencode => false } CACHE = MemCache.new memcache_options CACHE.servers = ''localhost:11211'' session_options = { :database_manager => CGI::Session::MemCacheStore, :cache => CACHE, :session_domain => ''ruby-forum.com'' } ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update session_options <<<<<<<<<<<<<<<<<<<<<<<<< Bur Rails still uses the session table in the database. Is there anything...