# Authenticity token error on Safari and IE6 on Windows

**URL:** <https://www.ruby-forum.com/t/authenticity-token-error-on-safari-and-ie6-on-windows/169958>\
**Category:** Rails\
**Created:** [June 10, 2009, 6:47pm UTC](https://www.ruby-forum.com/t/authenticity-token-error-on-safari-and-ie6-on-windows/169958 "2009-06-10T18:47:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [June 10, 2009, 6:47pm UTC](https://www.ruby-forum.com/t/authenticity-token-error-on-safari-and-ie6-on-windows/169958/1 "2009-06-10T18:47:14Z")

</div>

Hi,

I cannot log in to my Rails application using Windows and Safari or IE6.  
Windows + Firefox works, and Safari or Firefox on Osx works also.

What in hell is going wrong?

I recently switched my app from restful\_auth to authlogic, could that be  
the reason? I don’t remember having these authenticity errors before.

Regards,

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [June 10, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/authenticity-token-error-on-safari-and-ie6-on-windows/169958/2 "2009-06-10T19:29:46Z")

</div>

Can you verify that you’re getting cookies (specifically your session  
ID) from IE6/Safari on Windows?

On Jun 10, 10:47 am, Fernando P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [June 10, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/authenticity-token-error-on-safari-and-ie6-on-windows/169958/3 "2009-06-10T21:28:39Z")

</div>

Kendall G. wrote:

> Can you verify that you’re getting cookies (specifically your session  
> ID) from IE6/Safari on Windows?  
> Indeed in Safari I don’t get the cookies! How is that possible? They  
> should be accepted.

---

<div class="post-metadata">

**Author:** ![fipa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/9e8a1a/32.png) [@fipa](https://www.ruby-forum.com/u/fipa)\
**Post date:** [June 10, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/authenticity-token-error-on-safari-and-ie6-on-windows/169958/4 "2009-06-10T21:37:06Z")

</div>

Fernando P. wrote:

> Kendall G. wrote:
> 
> > Can you verify that you’re getting cookies (specifically your session  
> > ID) from IE6/Safari on Windows?  
> > Indeed in Safari I don’t get the cookies! How is that possible? They  
> > should be accepted.

Ok I found the problem: underscores in the hostname! More info here:  
[http://www.ruby-forum.com/topic/151965](http://www.ruby-forum.com/topic/151965)
