search for: cookie_only

Displaying 3 results from an estimated 3 matches for "cookie_only".

2009 Nov 05
0
config.action_controller.session_options[:cookie_only] = true
...ails-1-2-4-maintenance-release http://www.nessus.org/u?2f5b72e6 http://dev.rubyonrails.org/ticket/10048 http://www.nessus.org/u?1eeea9de Solution : Upgrade to Ruby on Rails version 1.2.6 or later and make sure ''config.action_controller.session_options[:cookie_only]'' is set to ''true'' in the ''config/environment.rb'' file. I checked my rails version: it is already 1.2.6. Then I un-comment this line in environment.rb config.action_controller.session_options[:cookie_only] = true I got the following: Error mess...
2008 Jan 20
3
CookieStore and Session data via POST vars (no cookies)
...lved issue, so I thought I''d ask. I''m trying to use SWFUpload with the cookiestore. I''m passing in the session_id variable through a POST parameter in the upload. I''ve verified that Flash is sending the POST params (Flash 9). I thought simply by setting cookie_only to false for that method, I would be able to get that to work. Turned out I had to do a couple of small monkeypatches to CookieStore to get it to work. The only ticket I found that references this is http://dev.rubyonrails.org/ticket/210 , which is old, old, old but seems to imply that thi...
2008 Feb 09
1
how to check the config.action_controller.session options ?
...;', :secret => ''3a64394bb895f1f05e0c07f71127d93d'' } I cannot get it back in the script/console .. :session_key=>"_session_id" !!! why ? >> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS => {:session_key=>"_session_id", :cookie_only=>true, :session_path=>"/", :prefix=>"ruby_sess.", :database_manager=>CGI::Session::CookieStore, :tmpdir=>"/Users/myself/tmp/sessions/"} how can get back the :session_key and :secret in my controllers ? -- Posted via http://www.ruby-forum.com/. --~--~...