Security |
By default, IIS 5.0 caches security tokens for accounts that are logged on locally, such as IUSR_computername. You might not see multiple logon entries in the audit logs because the token is already accessible to IIS 5.0. The default cache time is 15 minutes.
The following ADSI code, callable from Visual Basic, Microsoft® Windows® Script Host (WSH), or Active Server Pages (ASP), will change the cache time for the default Web server (Web server 1), on a computer called Baggins, to two minutes.
Dim oIIS
Set oIIS = GetObject("IIS://Baggins/W3SVC/1")
oIIS.PasswordCacheTTL = 2
oIIS.SetInfo
Set oIIS = Nothing