Advertisement
Guest User

Untitled

a guest
Mar 13th, 2015
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. 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 .
  2. 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 .
  3. My < system.web > configuration in web.config file is as follow .
  4. <system.web>
  5. <machineKey validationKey="sorry can not show it" decryptionKey="sorry can not show it" validation="SHA1" decryption="AES" />
  6. <customErrors mode="Off" />
  7. <sessionState mode="InProc" cookieless="false" timeout="100000" />
  8. <compilation debug="true" targetFramework="4.5" />
  9. <httpRuntime targetFramework="4.5" maxRequestLength="100000000" />
  10. <authentication mode="Forms">
  11. <forms loginUrl="~/Home/Admin/Login" timeout="100000" cookieless="UseCookies" protection="All" slidingExpiration="true" />
  12. </authentication>
  13. </system.web>
  14. Please help me . Thanks In Advance !!!!!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement