asp.net mvc - Website logout time issue -
my website automatically logout after 15 mins . want set timeout in 2 hours or 1 day .
see below webconfig code
<authentication mode="forms"> <forms loginurl="~/account/login" defaulturl="~/account/login" protection="all" slidingexpiration="false" timeout="3600"/> </authentication> <sessionstate mode="inproc" cookieless="false" timeout="3600"></sessionstate>
i search more answers in google , put lot of minutes in timeout property . it's not working. time logout after 15 mins .
can me ? how ca solve issue ?
may application recycled , new machine key assigned automatically. may need assign machine key in web.config. may generate machine key here
<system.web> <machinekey validationkey="machinekey" decryptionkey="decrypt key here" validation="sha1" decryption="aes" />
Comments
Post a Comment