Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP slow to initialize

Status
Not open for further replies.

LarrySteele

Programmer
May 18, 2004
318
US
I have an intranet site that uses LDAP for authentication and authorization. I've done this for nearly a decade using ColdFusion and a couple of years with ASP.NET. There's one difference on this site - the initial call to LDAP takes a long time (27 seconds) to validate and complete page build. Once that's done, the site whips along just fine. I can log out, close browser, reopen site and page opens quickly. I can open a different browser and site is quick and responsive. A user on a different computer can go to the site and the page loads right away. If the site goes unused for some amount of time (say four hours), then the next time someone tries to access the site, authentication once again takes very long time.

My searches for solutions haven't panned out and wondering if anyone here has had similar situation that they were able to resolve.

Thanks in advance,
Larry
 
I don't use LDAP for authentication, but it sounds like a caching issue. Look and see if LDAP uses any type of caching and if you can extend the time of the cache.

Just a thought.
 
Thanks. I too think it's caching, but I was thinking it was IIS that might be caching the connection.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top