similar to: how can I retrieve a session based on the session-id

Displaying 20 results from an estimated 600 matches similar to: "how can I retrieve a session based on the session-id"

2008 Feb 09
1
how to check the config.action_controller.session options ?
when setting it in my environment.rb config.action_controller.session = { :session_key => ''_myapp_session'', :secret => ''3a64394bb895f1f05e0c07f71127d93d'' } I cannot get it back in the script/console .. :session_key=>"_session_id" !!! why ? >> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS =>
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 cookie can be read when the user arrives
2006 Apr 12
1
Dealing with documentation : how to find REAL doc ?
Hi there Rails buddies ! After some weeks working with Rails and having it running on different platforms, I definitively find the documentation not enough precise. But those are my thoughts and I hope somebody can point my out to the good way to find something. For example, I currently look for information about session managment, and find the code :
2006 Jun 07
3
ActionController::UNKnownAction (No action responded to crea
Hello All, I''ve developed RoR on windowsXP have deployed that on Linux. Everythings works fine when working on windows. Things are fine on Linux too untill I try to create new entry. I tried but couldn''t find any relevent information why it should happen only to this "specific" create action. I''m saying this because different create on other forms are
2006 Feb 09
1
session cookie expiration
from the Agile Book, i see i can set the absolute session expiry time via: ActionController::CGIRequest::DEFAULT_SESSION_OPTIONS[:session_expires] however, I don''t see anything about what the actual default setting is when a session is created. also, is there a way to set the expiration to happen when the browser is closed? in PHP, this can be accomplished using
2007 Apr 16
1
Java installs but won't play -- update
Dear friends: I created a symbolic link from /usr/bin/java to ~/.mozilla/plugins/java but still Java does not work. Please see data below. Thank you so much. Benjamin [sher at localhost .mozilla]$ ls firefox mozver.dat plugins [sher at localhost .mozilla]$ cd plugins [sher at localhost plugins]$ ls flashplayer.xpt java libflashplayer.so [sher at localhost plugins]$ ls -l total 6892
2009 Nov 26
2
mandriva 2010.1 cooker test report
hello now nouveau is supplied with Mandriva 2010.1 to install it, just use the mandriva tool as usual but select "GeForce... (nouveau...)" my conf : Asus 8600 GT Philips ldc 17 " 170C 1024x768 24 bit Mandriva 2010.1 cooker kde 4.3.75 kernel mode setting : on - video sd (video dvd,dragon player) : ok - video hd (tv, vlc) : ok - video .mov : ok - photo jpg : ok - flashplayer
2005 Aug 06
2
Problem with 0.13.1 ActiveRecordStore with PG 8.0.3.
Hi, I put the following in my environment.rb file: ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update (:database_manager => CGI::Session::ActiveRecordStore) Runnning WEBrick via "script/server" and trying to load any page served by a controller results in an error like the following: #<ActiveRecord::StatementInvalid: ERROR: null value in column "id"
2006 Aug 03
0
Sharing sessions across subdomains
Has anyone else experienced this strange behavoir with sharing sessions across subdomains? I have in development.rb ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:session_domain => ''.localhost.com'') If I create a session at foo.localhost.com then go bar.localhost.com a session is created (with host localhost.com) and everything works fine. But if I then go
2006 Mar 07
0
Storing sessions files elsewhere on EdgeRails
Hi all, In a Rails 1.0 project, I successfully changed the sessions storage location to <RAILS-ROOT>/tmp, by adding ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:tmpdir => File.join(RAILS_ROOT, ''/tmp'')) in environment.rb Problem: -------- I tried to use the same trick in an EdgeRails project, but it doesn''t work : server error, with no
2006 Feb 01
1
Unwanted sessions after routing error
I''m building a session-less application and have set "session :off" in the base controller (ApplicationController in application.rb). Unfortunately, I still see session files appearing in /tmp/ruby_sess.* -- and the cause of these files is when a routing error occurs. Whenever a bad URL comes in, for example <http://localhost:3000/not/a/chance/in/hell>, the
2006 Feb 12
0
problem serving files which start with newlines
I''m working on a rails app that stores files in a database and allows users do download them again. But when a file starts with newlines they get lost in the process and the browser marks the download as failed because the received filesize is smaller then the expected filesize (the difference is exactly the newlines missing). To reproduce this place something like this an a
2006 Jan 30
0
cached_model-1.0.1 ActiveRecords + memcache
The new version of cached_model features bug fixes and tests! Bugs fixed: Updating a model no longer stores associations into the cache. This could cause strange, hard-to-debug bugs when an invalid set of assocations was retrieved along with a cached model. Reloading a model refreshes the cache. When CachedModel::find can''t understand query params and a single result is
2005 Dec 25
1
How to use mem_cache_store?
Hi, I''m trying to use mem_cache_store for sessions. I have installed the server and the gem and have added the following to my config/environment.rb: >>>>>>>>>>>>>>>>>>>>>>>>> memcache_options = { :c_threshold => 10_000, :compression => true, :debug => false, :namespace =>
2008 Jul 15
1
sex expire time for Sessions in memcached
Hi all, I have a problem with expiring sessions in the case with using mem_cache_store. I''ve been using ActiveRecord session store till now and expired them with SQL query. Yesterday I switched to memcache for storing sessions, however I can''t set an expireation period. My current config is this: ======================== memcache_options = { :c_threshold => 10_000,
2000 Apr 30
2
Problem finding openssl in openssh-2.0.0test1
Hi. I saw a new release appear today, and I pulled it down to see if some residual problems in port forwarding from openssh-1.2.3 were fixed. The configure script had trouble finding the openssl package, even though I had it installed in the standard place (/usr/local/ssl). I investigated and found that the failed test compile was caused by two nonfatal compiler warnings that memset and RAND_add
2006 Mar 03
1
number_to_currency() helper == non DRY == could be improved
Hi all, Apologies in advance if I got this one wrong, I''m still just a newbie ;-) Going through the Apple ADC RoR tutorial it suddenly occurred to me that the ''number_to_currency()'' helper method was not DRY streamlined. Scenario:: The "number_to_currency()" methods options hash works great when I need to dynamically display different currencies when I
2005 Nov 17
1
Flashplayer-plugin
I know that flashplayer-plugin is not packaged or distributed by CentOS but there's a RedHat "Critical" advisory at https://rhn.redhat.com/errata/RHSA-2005-835.html that I don't believe has been mentioned here. There is no CentOS rpm that I can find but the binary of version 7.0.61 is available from
2009 Apr 18
0
Anyone know how to include playerMultipleList.swf
The following code snippet did work beautifully before I retrofitted the website into ROR. Everything but this is working beautifully, and so far I luv ROR. If you have experience with this thanks in advance for sharing it with me. Currently only the words playerMultipleList.swf appear on the page ... no player. <div class="sound_gal"> <h3>Introducing the
2016 Apr 26
0
Re: Firefox and Flash
On Tue, 26 Apr 2016 13:54, wwp wrote: > Hello Andreas, > > > On Tue, 26 Apr 2016 09:03:12 +0200 Andreas Benzler wrote: > >> Hello every one I installed the official >> flash plugin from adobe >> >> About Plugins tells me: >> >> Datei: libflashplayer.so >> Pfad: /usr/lib64/flash-plugin/libflashplayer.so >> Version: