Timeout issue on shared hosting

Posted by Vickypatel under C# on 12/29/2014 | Points: 10 | Views : 964 | Status : [Member] | Replies : 0
If you get any problem regarding timeout issue on shared hosting server then add below line of code into web.config file and time out issue will be solved.
Need to add code between <system.web> tag.
<system.web>
<machineKey validationKey="32D52B9D120194DA754305D6EEF505BCE0B99D828D79C81C6136733F500D81B05878C4B3F22503C17ED53B37DDCA81B368334E8FF2D8399CB79C5FE1733FB79E" decryptionKey="EDADA4DD781147D18C1B1098B48F8413DE2E551D793D966B" validation="MD5" />
<httpRuntime executionTimeout="2700" maxRequestLength="2097151" requestValidationMode="2.0" />
<authentication mode="Forms">
<forms timeout="60" name="MyAuth" protection="All" slidingExpiration="true" path="/"/>
</authentication>
<sessionState mode="InProc" cookieless="false" timeout="60" />
</system.web>






Responses

(No response found.)

Login to post response