I apologize in advance for this likely being asked before. I have an asp.net 2.0 web application and am trying to set the session timeout.
My first attempt was to add this to the web.config. < sessionState mode="InProc" timeout="300" >
Users would tell me though that after about 20 minutes of being idle and then trying to do something again on the site they'd be redirected back to the login page.
So now I'm trying timeout="60" in my < forms tag in the web.config.
I also tried Session.Timeout=60 in my global.asax.
Should these work? Do I need something else? Thank you for your time and help.