Click here to Skip to main content
15,891,204 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
HTML
<authentication mode="Forms">
  <forms loginUrl="~/Account/Login.aspx" timeout="200" slidingExpiration="true" />
</authentication>


and this
HTML
<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 19: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.
 
Share this answer
 

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