Bakersville
asked on
Session Timeout asp.net
Hello everyone.
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
Baker
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
Baker
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you both. Made all the changes and it seems to be working ok.
Baker
Baker
ASKER
I have updated my webconfig file and will let you know how i get i.
Baker