1

In web config i have set session time out even though my session is reset after 10-15 min

<sessionState mode="InProc" cookieless="UseCookies" timeout="525600"/>
    <authentication mode="Forms">
      <forms name="outerForms" loginUrl="~/Login.aspx" defaultUrl="Default.aspx" timeout="525599" cookieless="UseCookies"/>
    </authentication>

This is what i have set in web.config. Now Value stored in session gets cleared after 10-15 min but user does not get log out. Sorry if i sound foolish but i am new in asp.net... is it dependent on any other thing?
i am using .net version 4.0

user2788596
  • 344
  • 2
  • 12

2 Answers2

1

Check your IIS ideal time Setting. By default it is 20 minutes. You need to increase this value.

Qantas 94 Heavy
  • 15,750
  • 31
  • 68
  • 83
juhi
  • 320
  • 1
  • 3
  • 15
0

I resolved this by running SQL Server agent service. Make sure that ASPState_Job_DeleteExpiredSessions job is enabled