Hello,
My apologies. I am not sure of my problem so I don't know the actual forum to start in.
I am trying to design an intranet site with AD impersonation and pass-thru authentication. In general the security seems to work fine. My pages seem to load pretty much instantly. The problem is thatevery 45 seconds there is a 5-10 second lag to load a page. This occurs if I am idle reading content or even rapidly switching between pages. When this occurs my IE status bar displays "Waiting for response from mydomain.com..." I have checked alot of different timeouts and none of them seem to be around 45 seconds. Can someone point me in the right direction? As far as I know I haven't changed much as timeouts go so what defaults to 40-50 seconds?
In my site.master I am calling UserPrincipal.FindByIdentity in the OnInit method. Could this be related to my issue?
Thank you for any insight or new direction for me to investigate.
----------
Testing with Windows7 / IE9
Hosted on a 2008 virtual domain member server
App Pool - custom
.net 4.0 - Classic
IIS Authentication
ASP.net Impersonation - Authenticated User - Windows authentication
Session State
In Process - Use Cookies - ASP.NET_sessionID - 20 minutes - Use hosting identity for impersonation
Website Connection Limits
Connection Timeout 6000 seconds
In Site.Master.cs
protected override void OnInit(EventArgs e) { yourDomain = new PrincipalContext(ContextType.Domain, "server", "user", "password"); user = UserPrincipal.FindByIdentity(yourDomain,System.Windows.Forms.SystemInformation.UserName); }