Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
restful authentication plugin doesn't work with internet explorer and mod_rails
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Flavio Castelli  
View profile  
 More options May 16 2008, 3:18 am
From: Flavio Castelli <flavio.caste...@gmail.com>
Date: Fri, 16 May 2008 00:18:54 -0700 (PDT)
Local: Fri, May 16 2008 3:18 am
Subject: restful authentication plugin doesn't work with internet explorer and mod_rails
Hi, I'm experimenting a really strange problem.
I've successfully deployed my rails app with mod_rails, and everything
works fine using firefox or konqueror.
Instead, using internet explorer (both version 6 and 7) I'm unable to
perform the login operation.
After submitting username and password my app redirects to the home
page and says hello user foo.
With ie I'm redirected to the home page but I'm seen as not logged-in.

In development environment (using webrick from script/server) internet
explorer works fine.

I've looked Apache logs and production.log but I didn't find anything
relevant.

So I've dumped two authentication sequences with wireshark.
You can find them here:
- konqueror auth: http://www.flavio.castelli.name/files/login_konq
- ie6 auth: castelli.name/files/login_ie

I'm using rails 2.0.2, with passenger 1.0.5 and latest
restful_authentication plugin. Everything has been installed with gem
under ubuntu hardy.

Thanks in advance
Flavio


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options May 16 2008, 4:40 am
From: Hongli Lai <hon...@phusion.nl>
Date: Fri, 16 May 2008 10:40:27 +0200
Local: Fri, May 16 2008 4:40 am
Subject: Re: restful authentication plugin doesn't work with internet explorer and mod_rails

Hi.

I see that Internet Explorer does not send back cookies even though it
should. That is, after a response with "Set-Cookie", IE does not send a
"Cookie" header. Could you check whether your cookie settings are correct?

Regards,
Hongli Lai
--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Flavio Castelli  
View profile  
 More options May 16 2008, 5:46 am
From: Flavio Castelli <flavio.caste...@gmail.com>
Date: Fri, 16 May 2008 02:46:19 -0700 (PDT)
Local: Fri, May 16 2008 5:46 am
Subject: Re: restful authentication plugin doesn't work with internet explorer and mod_rails
On May 16, 10:40 am, Hongli Lai <hon...@phusion.nl> wrote:

> I see that Internet Explorer does not send back cookies even though it
> should. That is, after a response with "Set-Cookie", IE does not send a
> "Cookie" header. Could you check whether your cookie settings are correct?

Talking  with codafoo on #passenger IRC channel we discovered the
cause of my problem: my Intranet url contained a '_' character.
From http://support.microsoft.com/kb/909264 :
IE0005: By-design.  Setting cookies fails when the hostname of the
server contains an underscore.

After changing the hostname everything worked fine.

Obviously ie didn't show any warning message...

Thanks
Flavio

Btw: mod_rails rules ;)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »