similar to: Session mgmt. bug - ActiveRecord & MemoryStore session store

Displaying 20 results from an estimated 100 matches similar to: "Session mgmt. bug - ActiveRecord & MemoryStore session store"

2006 Jun 05
7
":database_manager =>CGI::Session::MemoryStore" doesn''t work properly...???
Hi, We are try to use the "database_manager =>CGI::Session::MemoryStore" for the session management. our website has a lot of "redirect_to". while the website is running under webrick, everything is fine. But when we run the system under aprache/fcgi. the redirect_to seems doesn''t work anymore with the option "MemoryStore" does anyone have the same
2006 Feb 27
0
MemoryStore
When using memoryStore for sessions I notice that ''new_session''=true and consequently the session id is changing every POST. If I change the session store to PStore the hash ''new_session''=false and the session data is maintained across POSTs. Any ideas on how I can use memoryStore (and set new_session=false) so I can maintain session information across POSTs?
2006 Feb 26
0
Ajax, MemoryStore and sessions
Have you ever worked with Ajax, memoryStore and sessions in Rails? I''m trying to pass a value through a session variable to various methods. I''m calling the methods with Ajax on a submit button. I do this twice on a page. The first time I pass a variable from the page to the controller and store it in the session and write a log entry. This works fine. When the second button
2006 Feb 28
0
Help needed: Sessions and memoryStore
Hi, I could really use some help in understanding why, when using memoryStore, the ''new_session'' value is always set to true for every request. This isn''t the case when using Pstore. With the ''new_session'' = true, the data I have set in the session gets lost. Is there a way I can set the ''new_session'' = false so I can preserve the
2007 Feb 12
6
Specs for Ajax partials with unicode characters
Hi Not sure if this is more Rails or RSpec related... I''ve got an app with an RJS view that updates a div in a page with the contents of a partial. The partial contains a non-ascii character namely a pound sign. I set up a simple test app with this RJS view: page.replace_html("test_div", :partial => "test_action") and this _test_action.rhtml:
2010 Apr 22
7
Making ActiveSupport::Cache consistent
Lighthouse ticket: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4452 I have recently been working on some gems that utilize ActiveSupport::Cache and ran into some issues with the different implementations handling the same functionality differently. One of the issues was that I couldn''t rely on expiring entries with the :expires_in option. MemCacheStore takes this
2008 Jun 24
1
cache issue with attr_accessor field
Hi, I''ve got a model with the following attribute added: attr_accessor :level which does not exist in the database. After putting instances of this model in the cache (using Rails.cache.fetch(''foo'') { Category.all } ), when I retrieve it back from the cache, then trying to access .level gives: undefined method `level'' for #<Category:0x34d50a0>
2006 May 06
0
Cant read an Array as an attribute of a record
I am trying to check the size of an array in a newly created object, and am getting an "undefined method" error. I have written a minimal test case. Can someone spot the issue here? I''m sure I''m missing something simple.... I realize that I''m not saving the object to the database, I''ve got a requirement to create and manipulate it in memory before
2006 Jan 23
2
Routes question
Newbie here, I am trying to set up Routes so that it will look up a listing in my directory by sanitized phone number, like the following: www.domiain.com/5405551212 which will in turn list all the listings with that phone number (though they might be in the Db table with parenthesis and hyphens), if one listing, then make it a special render If anyone could help with my Routes code and my
2006 Feb 08
2
URL rewriting
Here is the scenario I am trying to achieve. Basically, I want to run the action "show" from my controller, without adding the "show/id". Standard: http://www.domain.com/controllerName/show/id I would like: http://www.domain.com/controllerName/randomstring (where randomstring is a field in my model/table, that is equivalent to a GUID -> and unique). I''m confused
2018 Jun 05
3
Unit Tests CMake configuration
Hi llvm-dev, Does anybody know why we're not using the `add_test` feature in CMake [0] for unit tests? In particular, compiler-rt (sanitizers and xray) has a number of unit tests which could really just be built as normal binaries and invoked appropriately. If we're avoiding ctest [1], then for the unit tests in compiler-rt I'd like to see whether just using normal binaries can make
2008 Nov 13
0
ports/128837: [vuxml] net-mgmt/net-snmp and net-mgmt/net-snmp53: CVE-2008-4309
I thought I had added Cc to the freebsd-security, but I hadn't seen the PR in the list. So I am bouncing this message to the freebsd-security. Thu, Nov 13, 2008 at 11:00:11AM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote: > http://www.freebsd.org/cgi/query-pr.cgi?pr=128837 > > >Category: ports > >Responsible: freebsd-ports-bugs > >Synopsis: [vuxml]
2006 Jan 11
1
handling AR object in multistage forms
in a multi-stage form, what is the proper way for handling the passing of the object thru each step ? If i have a database called events, and my controller looks like step = @params[:step] || 1 if step == 1 @event = Event.new @event = @session[:event] if @session[:event] elsif step == 2 @event = Event.new @event = @params[:event] elsif step == 3 @event = Event.new @event =
2018 Apr 11
2
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
Hi Dean, For me the build is still broken: -- Builtin supported architectures: i386;x86_64;x86_64h CMake Error at projects/compiler-rt/lib/xray/tests/CMakeLists.txt:21 (add_library): add_library cannot create target "RTXRay.test.osx" because another target with the same name already exists. The existing target is a static library created in source directory
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
On Sat, 3 Jun 2017 16:04:57 -0700 Tim Northover <t.p.northover at gmail.com> wrote: [snip] > I think you should be able to fix it by changing the > compiler-rt/lib/xray/test/CMakeLists.txt. If you find the > "add_compiler_rt_test" call and move "-lstdc++" to the end, just after > "-lrt" it should work. Thanks, Tim. I don't see "-lrt":
2007 Feb 28
0
Config-mgmt tool comparisons
Hi all, Thought some of you might be interested in this tool comparison: http://en.wikipedia.org/wiki/ Comparison_of_open_source_configuration_management_software -- There are three social classes in America: upper middle class, middle class, and lower middle class. --Judith Martin --------------------------------------------------------------------- Luke Kanies |
2005 Jun 10
1
Starting bandwidth Mgmt
Hello all. I am really new in the world of bandwidth management.I just want to finish a task.i want to give IP Based Bandwidth Management.I am using RedHat9 Linux and wish to use "HTB" for controlling bandwidth.I don''t want to controll bandwidth application wise.I wanted to know what other tools are required for bandwidth management besides HTB.I have learned that htb comes
2011 May 07
0
Rails opensource timesheet and project mgmt systems
HI All, I need some open source timesheet management system for my company.Anybody knows some rails open source timesheet and project mgmt softwares? If so pls tell me. I really need them.Thanks in Advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2008 Apr 25
0
[PATCH 9/9] [RFC] Add cpu idle pwr mgmt to xen
Add TSC stop support for Deep C state TSC may stop at deep C state (C3/C4...) entry/exit. this patch add the logic that save and restore TSC during deep C state entry/exit, by using platform timer (PIT/HPET) signed-off-by: Yu Ke <ke.yu@intel.com> signed-off-by: Tian Kevin <kevin.tian@intel.com> signed-off-by: Wei Gang<gang.wei@intel.com>
2011 Apr 07
0
mod_auth_ntlm_winbind issues - does apache connection mgmt support NTLM?
Hello, I have configured Samba 3 with Winbind and installed the mod_auth_ntlm_winbind module deployed on Ubuntu 10 which is used by a web application to enforce logging using windows domain credentials. I have verified that all these layers are properly working? ie.. wbinfo ?u (good), wbinfo ?a <username> (good), ntlm_auth ?helper-protocol=squid-2.5-basic (good). Next step I