473,412 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

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

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.

Sep 7 '06 #1
1 874
??

"Edwin Knoppert" <ne**@hellobasic.comschreef in bericht
news:44**********************@text.nova.planet.nl. ..
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.

Sep 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: deko | last post by:
Can I use PHP and htaccess to authenticate users? My service provider lets me password protect directories on my web site - using htaccess. If a user tries to access a page within a password...
9
by: Sophia | last post by:
I need to authenticate users to enter in a NTLM-protected virtual directory, but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a...
1
by: Maziar Aflatoun | last post by:
Hi everyone, My web application runs in / however, my administration resides in /admin folder. Inside my /admin I have a Login.aspx which is used to authenticate users who use the...
7
by: Sync Walantaji | last post by:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory. Can I do this with asp.net if the IIS server is not part of the Active directory domain? Is...
3
by: Manfred Bauer | last post by:
Dear all, I have written an ASP.NET application using NT-Authentfication against an Active Directory domain. Users that are logged on have access to an Outlook Web Access site, also using...
5
by: Oleg Ogurok | last post by:
Hi all, Is there a way to read other people's session variables? I understand it makes sense that session state is on per-user basis, but still... Is there a way to get a collection of all...
2
by: ad | last post by:
I use Login control's Authenticate event to authenticate use. I find that different users can use the same ID to login in the same time. How can I restrict that the some ID can only login once in...
2
by: J-T | last post by:
I need to create a webserivce which is able to talk to the following components: 1) Another webservice which is written by java and talks to its own backend database to authenticate the users...
5
by: profdotnet | last post by:
Below is the code of web.config file: <configuration> <system.web> <authentication mode="Forms" /> <authorization> <allow users="Admin"/> <deny users="Jack,Mary" /> <deny users="?">...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.