IN THIS TASK
Modify the SChannel Cache section of this article.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To modify the length of time that the SSL session information is cached, follow these steps:
- Open Registry Editor. To do this, click
Start, click Run, type
regedt32, and then click OK.
- Click to select the following key in the registry:[HKEY_LOCAL_MACHINE][System][CurrentControlSet][Control][SecurityProviders][SCHANNEL]
- On the Edit menu, click Add Value, type ClientCacheTime in the
Value Name box, select REG_DWORD for
Data Type, and then click OK.
- In the Data box, type a value in milliseconds, click Decimal, and then click
- Repeat steps 3 and 4 to add the ServerCacheTime value.
- Exit Registry Editor.
The following are the registry key locations and values:
- ClientCacheTime:hierarchical (the time to expire client side cache elements)
- ServerCacheTime:hierarchical (the time to expire server side cache elements)
The default ServerCacheTime and ClientCacheTime values are different by the version of Schannel.dll.
The CacheTime values are as follows:
|Windows NT 4.0 SP6a||2 minutes||2 minutes|
|Windows NT 4.0 SP6a + Q265369||60 minutes||5 minutes|
|Windows 2000 SP1||2 minutes||2 minutes|
|Windows 2000 SP2||10 hours||10 hours|
|Windows XP||10 hours||10 hours|
The registry key locations apply to all versions of the Schannel cache. Keep the server-side interval short for better management of the overall size of the Schannel cache.
Makale No: 247658 - Son İnceleme: 30 Tem 2008 - Düzeltme: 1