Hello guys,

I have a very big issue with Internet Explorer and sessions!

Indeed, since I migrated my whole application to rails 2.1.1 from rails
1.2.3, IE doesn't keep session at all.

example:
[code]
# controller

  def action1
    session[:foo] = 'foo'
  end

  def action2
    render(:text => "session[:foo] = " + session[:foo])
  end
[/code]

Call action1 then action2.

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!

Help me please!

Thanks,

Mary
-- 
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 protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to