Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have issue that is Session Automatically Expires even session time-out sets to it maximum level. I am developing my web application in a ASP.NET MVC 5 With WEB API .
- There is no issue when I run it in local but when I publish it on web it session automatically expires within 55-60 seconds. Hosting provider also says that there is no issue with their server. I can not find any error and don't know how to configure it .
- My < system.web > configuration in web.config file is as follow .
- <system.web>
- <machineKey validationKey="sorry can not show it" decryptionKey="sorry can not show it" validation="SHA1" decryption="AES" />
- <customErrors mode="Off" />
- <sessionState mode="InProc" cookieless="false" timeout="100000" />
- <compilation debug="true" targetFramework="4.5" />
- <httpRuntime targetFramework="4.5" maxRequestLength="100000000" />
- <authentication mode="Forms">
- <forms loginUrl="~/Home/Admin/Login" timeout="100000" cookieless="UseCookies" protection="All" slidingExpiration="true" />
- </authentication>
- </system.web>
- Please help me . Thanks In Advance !!!!!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement