Sessions in JRuby Rack
- From: "gaja s.r" <gaja26387@gmail.com>
- To: issues@jruby-rack.kenai.com, talk@jruby-rack.kenai.com
- Subject: Sessions in JRuby Rack
- Date: Tue, 16 Feb 2010 18:27:46 +0530
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LfBSpqz9uMlQbmjwgBjo01gVobqriv+nCZ+T+IlJN08+77wJih625rC0GA4xI2sZ0a 6pB0VihKkndpkvhOwQ6RhbVCx1Yt2wxRbPWznigrEKojffSO4KWkEW5sxAUJAatY38eU Rouekguy7FGfzKpQaAsn/dZhc28mJcYViGK5g=
Hi,
I am porting an Rails application to JRuby. I am using JRuby-rack-1.4 and Rails 1.2.6 and i have trouble in session handling.
I was using the default database manger (PStore) for sessions and thing were working fine. But when moved to JRuby for each request new session_id is assigned.
On minimul debugging i found that JRuby-rack overrides it with JavaServletStore and also turns of the cookie (in jruby/rack/rails.rb) which is guess causes the problem. Did i miss something? How is it possible to persist session across requests?
Thanks in advance,
-Gajendran
|
Sessions in JRuby Rack |
gaja s.r | 02/16/2010 |





