Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

session timeout in asp.net

Hello Experts,

If I want to increase the session timeout interval to 60 minutes for one of the page where should i set this?

Can I do on the aspx page? or should I have to do in code behind ie aspx.vb?

please advise
thanks
0
learningnet
Asked:
learningnet
  • 2
1 Solution
 
learningnetAuthor Commented:
can i not set session.timeout = 300 in the page?
0
 
learningnetAuthor Commented:
i have disabled this in the web.config file

      <!-- <sessionState mode="InProc" cookieless="true" timeout="20" /> -->

i only need longer session for just one page ....

please advise
0
 
newbie27Commented:
try

Session.TimeOut = 60
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now