Session Timeout asp.net
Posted on 2011-03-04
I don't get what i am missing, i have a asp.net website and i need a session to last at least 2 hours. So what i have done is,
In IIS, right clicked the website adn gone to proerties, Click Home Directory tab, Click configure. In configure i click the options tab adn chaged Enable Session State to 120 minutes.
Within my code i have written the following after the session
Session.Timeout = 120.
However, the session only last about 5 minutes.
Can anyone help me with this.
Thank you in advanced