

Building and Running an ASP.NET Web Client Application › Support for Encryption › Edit Encrypted Sections of Configuration Files › Edit the Encrypted sessionState Section in web.config
Edit the Encrypted sessionState Section in web.config
The user can edit the encrypted sessionState sections in web.config if the user has administrative privileges.
Follow these steps:
- Decrypt the sessionState section by entering one of the following commands:
aspnet_regiis -pdf system.web/sessionState <IIS Root>\myapp
aspnet_regiis -pd system.web/sessionState -app /myapp
- Edit the web.config file and make the required changes.
- Re-encrypt the sessionState section by entering one of the following commands:
aspnet_regiis -pef system.web/sessionState c:\inetpub\wwwroot\myapp
aspnet_regiis -pe system.web/sessionState -app /myapp
Copyright © 2013 CA.
All rights reserved.
 
|
|