Session Time Out in Asp.net 4.0 on IIS 7.5

10,087

You can try out WMI(Windows Management Instrumentation) script it can help you.You need to have sufficient priveleges to implement the Script.

follwing are the links you can check to get more information.

http://bendera.blogspot.in/2010/12/configuring-ica-rdp-timeout-values.html

http://technet.microsoft.com/en-us/library/cc771956%28v=ws.10%29.aspx

Share:
10,087
शेखर
Author by

शेखर

I am associated with Nihilent Software. #SOreadytohelp My favorite areas are asp.net and C# jquey asynchronous. Connect me any time on [email protected]

Updated on June 04, 2022

Comments

  • शेखर
    शेखर almost 2 years

    I want to set timeout for my web application for 12 hours.

    I have done setting in web.config file as:

    <system.web>
         <sessionState timeout="720" />
    </system.web>
    

    As suggested in the following post:

    • I came to know that the Application Pool recycles in every 20 minutes (if the pool is ideal).
      And I also checked for changing the application pool time out using one question about application pool timeout setting
    • But still the session time-out is not set to 720 minutes. Do I need to change machine.config file for changing the session time out.
      But I think the properties of machine.config file should be overriden by web.config file.

    Kindly provide me some idea.

  • शेखर
    शेखर over 11 years
    thank Abhinandy I think @mystereMan is correct I have to look for other option rather than increasing the session time.