Click here to Skip to main content
15,888,202 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to have different timeouts for my Web Applications in FBA (Form Basic Autentication)

I tried this script in POWERSHELL:
$sts = Get-SPSecurityTokenServiceConfig
$sts.WindowsTokenLifetime = (New-TimeSpan -Minutes 10)
$sts.FormsTokenLifetime = (New-TimeSpan -Minutes 10)
$sts.Update()
iisreset


But it did not work because it was a standard timeout for all my web applications and I need to use like 10s for one, 20s for the other and so on.


I also tried this script in WEB CONFIG (.net) but it did not work at all
<httpRuntime executionTimeout="10″ maxRequestLength="2097151″ />
<forms timeout="1" defaultUrl="www.myhompage"/>
<sessionState timeout="1"  />



Does anybody have a clue?
Posted
Updated 16-May-13 9:41am
v2

1 solution

 
Share this answer
 
Comments
Member 8596377 17-May-13 17:34pm    
In the first link: I configured timeout tag "<form" setting did not work.
In the second link: I did the same but the timeout value was equal for all Web application's farm.

I wish every web colection had your own custom timeout ..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900