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" />
</authentication>


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.
Posted
Updated 8-Aug-16 20:52pm
Comments
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
   
Yes

1 solution

Hi,

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