Iis – Set IIS website Classic ASP session timeout using Powershell

asp-classiciispowershell

How do I set the Classic ASP Session timeout in IIS 8.5 using powershell?

I've taken a look at using Set-WebConfigurationProperty but can't work out how to use it correctly.

Best Answer

I hope this will help you.

Set-WebConfigurationProperty /system.webServer/asp/session -Name timeout -Value 00:05:00

Link(s)