Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Once in a while, a few users can not authenticate..

Reply
Thread Tools

Once in a while, a few users can not authenticate..

 
 
Edwin Knoppert
Guest
Posts: n/a
 
      09-07-2006
We have a few thousand users loggin in on our website.

I ever wrote an authentication system as found as example on internet
having:
HttpCookie authCookie = new HttpCookie(FormsAuthentication.FormsCookieName,
encryptedTicket);
context.Response.Cookies.Add(authCookie);
etc..

In global.asax i read the cookie, parse the roles again and set the user
(principal).

This works well for all except a few users.
I don't think the global asax part fail, authentication is not directly
related to this part right?
It's only required for the roles.
We have an indicator on line shows they are still not logged in.
Seems the authentication failes, it seems the cookie is not written.

This seems a typical MSIE problem.
Pointing users to a test page with some javascript to obtain the navigator
info shows that the user has cookies enabled.
Looks to me that it's nearly impossible that this is a js is turned off
situation or so.

??

-------------------------------------

I'm not using the native roles stuff but using jet, but that's besides the
point.



 
Reply With Quote
 
 
 
 
Edwin Knoppert
Guest
Posts: n/a
 
      09-08-2006
??



"Edwin Knoppert" <> schreef in bericht
news:44ffcc40$0$2024$. ..
> We have a few thousand users loggin in on our website.
>
> I ever wrote an authentication system as found as example on internet
> having:
> HttpCookie authCookie = new
> HttpCookie(FormsAuthentication.FormsCookieName, encryptedTicket);
> context.Response.Cookies.Add(authCookie);
> etc..
>
> In global.asax i read the cookie, parse the roles again and set the user
> (principal).
>
> This works well for all except a few users.
> I don't think the global asax part fail, authentication is not directly
> related to this part right?
> It's only required for the roles.
> We have an indicator on line shows they are still not logged in.
> Seems the authentication failes, it seems the cookie is not written.
>
> This seems a typical MSIE problem.
> Pointing users to a test page with some javascript to obtain the navigator
> info shows that the user has cookies enabled.
> Looks to me that it's nearly impossible that this is a js is turned off
> situation or so.
>
> ??
>
> -------------------------------------
>
> I'm not using the native roles stuff but using jet, but that's besides the
> point.
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet connects for a few seconds then disconnects for a few sec Cody Wireless Networking 2 06-28-2009 08:24 PM
rec.photo.digital users should all pitch in for a few atomic bombs Rich Digital Photography 2 11-20-2007 12:24 PM
Active X Component can run Power users group but not in users grou Wilmer Hernandez ASP General 4 08-20-2007 08:36 PM
To delete few lines and add few lines at the end of a text file using c program Murali C++ 2 03-09-2006 04:45 PM
Regex to match say char 't' exactly once in a string and no more than once Gancy Perl Misc 4 02-03-2005 02:05 PM



Advertisments