If I use IE, session[:foo] will be empty after action2.
Everything works perfectly with all browsers but IE.
And obvisouly my Internet Explorer accept all cookies, all sessions with
lower security level etc...
I can also track what's going on step by step because I store my
sessions in MySQL with active_record:
Actually, each time I call a new webpage (new action) with IE, rails
will automatically create a new session in the database with a new
session_id instead of taking the existing one. As usual, everything
works as intended with all other browsers.
I don't know what to do anymore!
Down on my knees I beg you!
Have you change it, 1.2.3, to be 2.1.1 ???
RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION
and open your Application.rb, make sure it is correct :
class ApplicationController < ActionController::Base
# Pick a unique cookie name to distinguish our session data from
others'
session :session_key => '_ProjectName_session_id'