Prashant Mehta

Prashant Mehta

  • NA
  • 1
  • 724

facing some issue in session expire problem in .net server

Feb 14 2016 6:13 AM
hello guys ,
 
need some expert advice in session expire issue.
 
here is the issue i am facing:
 
 
Two Diff. Login: Admin And Users :
1] Set webconfig. (Localization)
<authentication mode="Forms">
<forms defaultUrl="~/admin/Dashboard.aspx" loginUrl="~/admin/login.aspx" slidingExpiration="true" timeout="2880"/>
</authentication>
<authentication mode="Forms">
<forms defaultUrl="~/User/Dashboard.aspx" loginUrl="~/User/login.aspx" slidingExpiration="true" timeout="2880"/>
</authentication>
2] On Server Multiple Hosting(10 Website) : We have to set unique machinekey or same will work on windows hosting.(Not in a Local)
<machineKey validationKey="#" decryptionKey="#" validation="SHA1" decryption="AES"/>
3] Session expire even after set below line.
<sessionState mode="InProc" cookieless="false" timeout="940"/>
Current added 2] and 3]...its not working. ..
 
which way i can resolve it ..
 
Thank you  
 

Answers (1)