application:
-.net MVC 3 / c# / SQL Server 2008
issue:
- after leaving the application unattended for nor more than 5 minutues have to log in again.
- sometimes even while working inside the application I will click in some place and it brings me back to the login screen.
- no error pop up of any sort comes up, just have to log in again.
I know there are some threads about this post but I wanted to add the code I am currently using in my web.config file. I tried to add the session timeout tag inside but issue persists.
I am not pasting all code but I am adding the code I think its relevant to this issue, please let me know if I am missing something else.
this is what I added:
<sessionState mode="InProc" timeout="200000"/>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms loginUrl="Login/Login">
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
is there something else I am missing. I feel that after adding teh sesstionstate line nothing has changed. From what I understand without the sessionstate line the default is 30 mins, but I am getting kicked out before this time.
also I have seen some sesstionstate setup with more than the line I added so not sure if I am missing something there.
Thanks for any suggestion.