Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6967221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:17:34+00:00 2026-05-27T16:17:34+00:00

Environment : Win server 2008 R2, IIS 7.5 Website : MainWebsite MainWebsite\Subdirectory MainWebsite\VirtualDirectory For

  • 0

Environment: Win server 2008 R2, IIS 7.5

Website:

MainWebsite

MainWebsite\Subdirectory

MainWebsite\VirtualDirectory

For MainWebsite – ASP -> (Session Properties) -> Time-Out -> 00:04:00

For MainWebsite\Subdirectory -> ASP -> (Session Properties) -> Time-Out -> 00:08:00

AppPool -> (Process Model) -> Idle Time-Out (minutes) -> 10 [I set it to 10 minute]

Requirement:

I want the MainWebsite to hold the session for 4 minutes.

I want the MainWebsite\Subdirectory to hold the session for 8 minutes.

The above configuration is kind of a tiny test I am doing, so I could replace the time-out values with 20 mintues or 30 mintues on my real prod environment.

The issue is, the Session time out setting for the “Mainwebsite\subdirectory” is not effective.
Though it is set to 8 minutes, the session is lost after every 4 minutes, where 4 minutes is the setting of the MainWebsite.

Is this the expected behaviour, then I dont understand why there is an option to configure the ASP Session Timeout on a subdirectory level.

Let me know if you need more information. Appreciate your comments.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:17:35+00:00Added an answer on May 27, 2026 at 4:17 pm

    Since this is being done in IIS it does make sense how it’s working. Your timing out the whole site including the subdirectories before the subdirectory is timed out. The reason you can set it is if you want to time out the sub directory before the main level. I would recommend using asp code to timeout the session. You can set it in your global.asa so it’s done at the global level for each session.

    <%
    Session.Timeout = 40
    %>
    

    where 40 = the number of minutes.

    Reference: http://classicasp.aspfaq.com/general/how-do-i-increase-timeout-values.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VM on my Win 7 machine running Server 2008. My website
Environment: Windows 2003 Server (32 bit); IIS6, ASP.NET 2.0 (3.5); 4Gb Ram; 1 Worker
Environment: Team Foundation Server 2005 Visual Studio 2008 I have a reasonably large project
I have the following environment. OS: Win 7 64 Bit WAMP Server 2.2 PHP:
I have SQL Reporting Services 2005 running on a Win 2008 server with IIS7.
Hi guys, We have a mixed development environment of three servers running: Win Server
Environment: Windows Server 2003 R2 Enterprise 64bit, SP2 .NET framework is supposedly installed (2.0
Environment: C# projects, Visual studio 2008, C#, .Net 3.5, MSBuild Objective: Run my own
Environment: Win XP, Visual C++ I'm using the pthread_win32 library in order to implement
I am tackling ASP.NET, MVC 3, web development, for the first time, all at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.