PDA

View Full Version : login token expiring prematurely


reachsoftwa
12-01-2010, 08:40 AM
I have my forms authentication token set to 2880 (48 hours) but it seems to be expiring within a few minutes of inactivity and I'm redirected to the login page. This does not happen locally and I'm not doing anything in code to modify or change this token so it must be configuration

Any help is appreciated.

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

Steven

bruce
12-07-2010, 05:18 PM
Try set your own machinekey in the web.config

reachsoftwa
12-08-2010, 07:54 AM
oh, great idea. I'd completely forgotten about that. I'll post back when I verify it works.