Changing the Default Interval for User Tokens in IIS
The default interval for the token cache can also be changed in theMicrosoft Windows registry.
WARNING: Using Registry Editor incorrectly can cause serious, systemwide problems that may require you to reinstall Windows to correct them.Microsoft cannot guarantee that any problems resulting from the use ofRegistry Editor can be solved. Use this tool at your own risk.
- Run Registry Editor (Regedt32.exe or Regedit.exe).
- From the HKEY_LOCAL_MACHINE subtree, go to the following key: \System\CurrentControlSet\Services\InetInfo\Parameters
- Click Add Value on the Edit menu, and add the following: Value Name: UserTokenTTLNote For IIS version 4.0, the minimum value is 30 seconds. For IIS 5.0, the minimum value is 1 second. If you set the value to 0, the minimum value will be used instead.
Data Type: REG_DWORD
Data: (Number of Seconds for token to be cached - 30 sec. Min)
For IIS 6.0, the minimum value is 0. If this value is set to 0, TTL-based flushing of tokens is disabled. When TTL-based flushing is disabled, user tokens remain cached until either IIS is restarted or the worker process is recycled.
- Restart IIS Admin and dependent services.
Artikelnummer: 152526 – Letzte Überarbeitung: 07/07/2008 20:26:24 – Revision: 6.1
- kbnetwork KB152526