Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

IIS ASP.Net Session timeout

Posted on 2005-05-04
5
Medium Priority
?
955 Views
Last Modified: 2010-05-18
Hi,

 I've been informed that the session timeout for one of our web
 applications should now be 60 minutes instead of the default 20 minutes.

 I've gone into the web.config file, and changed the sessionState element to look like this:

<sessionState mode="InProc"
   stateConnectionString="tcpip=127.0.0.1:42424"sqlConnectionString="data
  source=127.0.0.1;Trusted_Connection=yes"cookieless="false" timeout="60"   />

  I've also added Session.Timeout() = 60 to the Global.asax.vb file's  Session_OnStart()

 I also added Session.Timeout() = 60 to my PageLoad event.

 I even went into the configuration settings in IIS and changed the

 default timeout for this particular application to 60 minutes.

 The problem is, the timeout is still only 20 minutes.

  Am I missing something? let me know immediately.
 
Thanks
 sivaji raju.
0
Comment
Question by:psivajiraju
2 Comments
 
LVL 1

Accepted Solution

by:
pratcp earned 1000 total points
ID: 13940132
You may want to check the ASP Script Timeout property in IIS as well...

HTH
Pratcp
0
 
LVL 1

Assisted Solution

by:dvsameerkumar
dvsameerkumar earned 1000 total points
ID: 13944915
Hi

Open your IIS Manager from program files...and follow the below process

1. Right click on default website option
2. Select Home Directory tab
3. Click on Configuration button
4. Select App Options tab
5. here the session timeout is by default set to 20 mins....change it here...check the enable session state....

Let me know incase of any difficulty

Regards,
Sameer
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question