Session Timeout vs Cookies Timeout RRS feed

  • Question

  • User-1256377279 posted

    Hi Guys,

    I have Web Application which runs using ASP.NET 4.0 Framework, below are the Session TimeOut and Cookie Timeout settings my query is cookie timeout works perfect with permenant persistant cookie  but session timeout doesn't work when the user is idle for 20 mins 


    	<authentication mode="Forms">		
    			<forms name=".ASPXFORMSAUTH" loginUrl="~/Home/LoginNew.aspx" timeout="4000" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" enableCrossAppRedirects="false" protection="All" />
     <sessionState timeout="2" />

    Even i have change the settings in IIS7, go to the Application Pools, right-click your app pool and go to Advanced Settings, under Process Module set the Idle Timeout (minutes) to the modified value 2 mins.

    Still it doesn't work could anybody help me 

    Thanks in Advance


    Thursday, February 28, 2013 9:07 AM