401 on HttpWebRequest in FIrefox

R

Ryan

Hello everyone,

I am using Windows authentication and I have set impersonate to true.

I am try to do the following and receive a 401 error in non-IE
browsers.

Dim objRequest As HttpWebRequest = CType(WebRequest.Create(strURL),
HttpWebRequest)
objRequest.Credentials = CredentialCache.DefaultCredentials

etc . . .

Is this expected? Firefox allows the users to login, but the
defaultcredentials does not seem to work. Is there a way around this or
something I am doing incorrectly?

In help is greatly appreciated!

Thanks and have a great day,
Ryan
 
B

bruce barker \(sqlwork.com\)

yes. firefox is more security conscious then IE. with windows security it
does not pass a primary token to iis like IE does when its a local loopback.

note: if you hit your box from another machine with IE it will also fail.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top