Click here to Skip to main content
14,699,489 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have some sites with authentication process, that works properly. But in new developed site, timeout is too short. it is correct in my local but after publish, it redirects to login page after less than five min. I check
<authentication mode="Forms">
  <forms loginUrl="~/Account/Login.aspx" timeout="200" slidingExpiration="true" />

and this
<sessionState timeout="200"/>

What I have tried:

I read some similar questions and follow them, change timeout value, change slidingExpiration value and ... but i could not solve problem.
Updated 8-Aug-16 20:52pm
F-ES Sitecore 8-Aug-16 4:11am
Authentication is not related to the session. When you say you publish the site, where do you publish it to? Is it a web host?
mahdi_h84 9-Aug-16 1:51am

1 solution


This problem was from my web hosting company. They changed my site Settings and problem solved.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900