I am upgrading from jruby 1.5 to jruby 1.6.3 and rails 2.3.5 to rails
Earlier i used to use :
ActionController::Base.session_store = :java_servlet_store if
in session store located in config/initializers.
Now in the same file i do :
Mb30::Application.config.session_store = :java_servlet_store if
The earlioer version in prodcution used to yield jsessionid and work
well with session. Since i used java servlet store in tomcat i used the
default session timeout feature in web.xml and it worked very well.
However after upgradation i see in firebug that there is a jsession id
created but at the same time there is a rails _session_id also created
and killing the jsessionid doesnt kill the rails session id . Also i
have an HTTP wrapper API over my application which gets response and
sends it as xml. Here i figured that the jsession id is not matching the
rails session due to which in the API i am unable to get the session
objects since they are getting set in rails session.
Gem list :
*** LOCAL GEMS ***
activerecord-jdbc-adapter (0.9.7 java)
activerecord-jdbcpostgresql-adapter (0.9.7 java)
jdbc-postgres (8.4.701 java)
jruby-openssl (0.7.2, 0.7)
jruby-rack (1.1.1, 1.0.10)
rake (0.9.2, 0.8.7)
tzinfo (0.3.29, 0.3.23)
Anyone can help on what could be the issue?
Posted via http://www.ruby-forum.com/.
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 email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.