473,386 Members | 1,798 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,386 software developers and data experts.

Forms Auth. using Active Directory - time out

I have a web application (asp.net) that uses Forms authentication to
authenticate users against an Active Directory. The problem I have is that
most of the time this works great, but every once in a while users cannot log
on, they receive a time out message instead. Sometimes restarting the IIS
solves the problem; sometimes this doesn't help at all. I'm very confused as
what is causing this behaviour, I suspect that it is not code related, but
I'm not sure what it could be instead.

Has anyone experienced this kind of problem or does anyone have tips on how
to troubleshoot this?
Nov 18 '05 #1
2 2045
active directory can be very slow. you need to bump up the timeout on the
login page.

-- bruce (sqlwork.com)
"AndersBj" <An******@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
| I have a web application (asp.net) that uses Forms authentication to
| authenticate users against an Active Directory. The problem I have is that
| most of the time this works great, but every once in a while users cannot
log
| on, they receive a time out message instead. Sometimes restarting the IIS
| solves the problem; sometimes this doesn't help at all. I'm very confused
as
| what is causing this behaviour, I suspect that it is not code related, but
| I'm not sure what it could be instead.
|
| Has anyone experienced this kind of problem or does anyone have tips on
how
| to troubleshoot this?
Nov 18 '05 #2
Thank you for the advice, but I already have the timeout set to one minute,
the users won't accept that long time to log in. Is there anything else that
one can do to speed things up?

When everything works as it should it takes about a second to log on.

Why do you think i experience different login times? It spans from 1 second
to several minutes...

Thanks,

Anders Björk

"bruce barker" wrote:
active directory can be very slow. you need to bump up the timeout on the
login page.

-- bruce (sqlwork.com)
"AndersBj" <An******@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
| I have a web application (asp.net) that uses Forms authentication to
| authenticate users against an Active Directory. The problem I have is that
| most of the time this works great, but every once in a while users cannot
log
| on, they receive a time out message instead. Sometimes restarting the IIS
| solves the problem; sometimes this doesn't help at all. I'm very confused
as
| what is causing this behaviour, I suspect that it is not code related, but
| I'm not sure what it could be instead.
|
| Has anyone experienced this kind of problem or does anyone have tips on
how
| to troubleshoot this?

Nov 18 '05 #3

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

Similar topics

1
by: AVance | last post by:
Hi, I've come across this scenario in ASP.NET 1.1 with forms authentication where the forms auth doesn't seem to timeout correctly, nor redirect to the login page. I have done some testing, and...
7
by: Justin | last post by:
I am trying to password protect a subdirectory using forms authentication. I am using the "Location" tag to specify the directory to be protected. The login.aspx page is in the root directory of...
1
by: Rod | last post by:
We've just put out our first ASP.NET application which uses forms authentication with Active Directory. (Yeah!) One thing I've noticed is that it takes a long time for a user to log in. Why is...
6
by: dhnriverside | last post by:
Hi there I'm using Windows Authentication to automatically recognise users in my web app. However, I want directory to be password protected, so if they try to visit the page in there, they MUST...
0
by: IronYuppie | last post by:
Hi all-- I'm retrieving contents from my site using the retrieving images from the database method listed here: ...
4
by: dhnriverside | last post by:
Hi guys Ok, I have a website which has an "Artists Only" section, for which you have to login for. This section is contained within its own directory on the server "/aonly". I want to make...
1
by: Lino Garcia | last post by:
I'm using the walkthrough described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp and I followed step by step. However, when I try with a...
3
by: Smokey Grindle | last post by:
I am using forms authentication with a custom user database... I was wondering, when logging in using forms auth, does the HttpContext.Current.User return the forms logged in user or the AD user...
2
by: Max2006 | last post by:
Hi, We prefer ASP.NET Forms Authentication in our ASP.NET 3.5 application; however we have to use Active Directory for user name and password storage. Is that possible? Is there any sample...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.