7. January 2010 13:29
Over 750 Video Tutorials
Default time out in digest authentication again was one of the issues which struggled me for days .
I activated digest authentication in my web application and hosted in IIS.Continuous complaint received from my client that the login window is popping up in every 5 minutes or in even lesser time and is totally annoying.
I tried various techniques to fix the problem.Increased the session time out to 30 min.disabled the fail-over time.but all in vain.
Finally I found out after lot of googling that the timeout of digest authentication is by default set to 300seconds if not explicitly mentioned in registry. It is required to change this default setting by adding explicit entries in registry.
For changing this default setting you need to edit the registry as below
Got to registry edit then select HKEY_LOCAL_MACHINE
Go To SYSTEM > CurrentControlSet > Services > InetInfo
Click on Parameters and add a new DWORD value by right clicking in the right pane.
Set Name DigestContextCacheTTL and data type as REG_DWORD.
Double click on it and change the decimal value as your need in milliseconds.
If you want to further read on various similar global registry entries please see article Global Registry entries.