1
Reply

Session timeout not working

Ganesh M

Ganesh M

Nov 18 2014 5:29 AM
619

   

Hi Sir,

I used formsauthentication in my mvc application.i have following code in my web.config file


<sessionState mode="InProc" timeout="120" cookieless="UseCookies"></sessionState>
<machineKey validationKey="D09B782F94E8A579C210C0DA36EF0123C3C1FE99C6207E0E65FA10478EFEE7C83364A84232BBB95F33594220E533DC5865E3534835393EDBF14045D5DE2D0CB6" decryptionKey="14D20B1043A356B9F0DFF4E88412D0DF758FA1715481E0E583E772814E78A191" validation="SHA1" decryption="AES" />



<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" slidingExpiration="true" cookieless="UseCookies" />
</authentication>


the session timeout working in local.But its not working in server.


Answers (1)