Has anyone ever experienced any problems authenticating with an ADSI application where after so long it stops responding. I can not track down what is causing the problem. I have a login page that uses the following code. This is running on a windows 2003 domain controller currently. If I put it on a windows 2000 member server I get this error way more often.
Set oADsObject = GetObject(strADsPath)
strADsNamespace = left(strADsPath, instr(strADsPath, ":"))
set oADsNamespace = GetObject(strADsNamespace)
Set oADsObject = oADsNamespace.OpenDSObject
h, strUserName, strPassword, 1)
It authenticates fine, but after so long the login page stops working. If I restart the application pool the page starts to work again. I have a volume of about 500-700 users authenticated at any given time. Should I be authenticating a different way? I use this as a forms based authentication to a portal I built. I use all the error codes to redirect them if the password is expired etc. I thought about trying LDAP authentication, but I ran into problems where it would cache the password or something? If a user logged in and reset their password then logged out they could login with either password...
Any suggestions / help would greatly be appreciated.
Here is a post on ee that has the same process I am using however I get the issues above.