Forum: Ruby on Rails Invalid authenticity token only in IE6

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
75fce382ae1f51533ea890ef92dcb47b?d=identicon&s=25 Andrew (Guest)
on 2009-05-04 05:27
(Received via mailing list)
Hi guys, I just discovered that both logging in and signing up does
not work in IE6 due to an InvalidAuthenticityToken error. I'm using
the latest restful-authetntication plugin. What's weird though, is
that I viewed the source before submitting and took note of the token.
After submission, on the error page (in the parameters section) the
token is the exact same. The forms work in every other browser. What
the heck?
47ae73cb2655e91b8b7308d07455d6c6?d=identicon&s=25 ianneub (Guest)
on 2009-05-13 10:01
(Received via mailing list)
We are seeing the same issue, but we're not using the restful-
authentication plugin. Are you using jQuery or Prototype at all?
75fce382ae1f51533ea890ef92dcb47b?d=identicon&s=25 Andrew (Guest)
on 2009-05-13 19:29
(Received via mailing list)
Yes, with some parts of the site, but not at all with the forms I'm
having trouble with.
A59b0daee5e5570e07a9f976721017e7?d=identicon&s=25 mike (Guest)
on 2009-05-15 00:57
(Received via mailing list)
We have the same problem and after months we just can not figure out a
working fix. I think it is in some way connected to the server config
and the trusted zones model used in IE.

2009/5/13, Andrew <luckydoom@gmail.com>:
>>
>>
>> > Hi guys, I just discovered that both logging in and signing up does
>> > not work in IE6 due to anInvalidAuthenticityTokenerror. I'm using
>> > the latest restful-authetntication plugin. What's weird though, is
>> > that I viewed the source before submitting and took note of the token.
>> > After submission, on the error page (in the parameters section) the
>> > token is the exact same. The forms work in every other browser. What
>> > the heck?
> >
>

--
Von meinen Mobilger├Ąt aus gesendet
39b36b2be47228f8619d61ea7a607a25?d=identicon&s=25 Matthew Beale (mixonic)
on 2009-05-15 22:02
(Received via mailing list)
Are you in an iframe?  IE6 and Safari famously don't let you set cookies
in an iframe.  Rails' csrf stuff then bites the dust.

--
Matthew Beale :: 607 227 0871
Resume & Portfolio @ http://madhatted.com
A59b0daee5e5570e07a9f976721017e7?d=identicon&s=25 mike (Guest)
on 2009-05-15 22:06
(Received via mailing list)
No im not.

2009/5/15, Matthew Beale <mixonic@synitech.com>:
>> not work in IE6 due to an InvalidAuthenticityToken error. I'm using
>
--
Von meinen Mobilger├Ąt aus gesendet
94cee02d73877ef5e6dfb04afb1fe324?d=identicon&s=25 Kendall Gifford (zettabyte)
on 2009-06-09 17:51
(Received via mailing list)
Were you ever able to resolve this? I need my web application to
support IE6 and discovered that I'm suffering from the same problem.
47ae73cb2655e91b8b7308d07455d6c6?d=identicon&s=25 ianneub (Guest)
on 2009-06-09 17:56
(Received via mailing list)
What web server and version are you using?

We're using Apache 2.2.9 (mpm-worker) w/Passenger 2.0.6, on Ubuntu
9.04. And Rails 2.2.2.
94cee02d73877ef5e6dfb04afb1fe324?d=identicon&s=25 Kendall Gifford (zettabyte)
on 2009-06-09 18:15
(Received via mailing list)
I've got Apache 2.2.8 (prefork) on Ubuntu Server 8.10 proxying to one
instance of my rails app (thin 1.0.0 w/rails 2.3.2)
94cee02d73877ef5e6dfb04afb1fe324?d=identicon&s=25 Kendall Gifford (zettabyte)
on 2009-06-09 20:17
(Received via mailing list)
Well, I don't know about others that may have this problem, but I
solved my problem.

In order to test my web application across both versions of IE (6 and
7) I have version 7 installed and a "standalone" version of 6
installed.

The standalone version of IE6 doesn't appear to function properly with
regards to cookies. I tested my web app on another machine that ONLY
has IE6 (regular version) and it works fine.

I guess I'll have to set up a full VM to test my rails app on IE6 on
my workstation. Oh well.
47ae73cb2655e91b8b7308d07455d6c6?d=identicon&s=25 ianneub (Guest)
on 2009-06-09 21:00
(Received via mailing list)
Thanks for the tip, I tested my app in a native IE6 VM and it works
fine as well. It must have been that stand alone IE6 I was using.
Phew!
75fce382ae1f51533ea890ef92dcb47b?d=identicon&s=25 Andrew (Guest)
on 2009-06-09 21:02
(Received via mailing list)
I've been using standalone IE6 as well! This is good news. However, I
get these errors every day on my production app; are there really that
many people using standalone IE6?
This topic is locked and can not be replied to.