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 1049039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:33:11+00:00 2026-05-16T16:33:11+00:00

While debugging a classic ASP application (and learning about classic ASP at the same

  • 0

While debugging a classic ASP application (and learning about classic ASP at the same time) I’ve encountered the following

Application("Something") = "some value"

and elsewhere in the code this value gets used thus:

someObj.Property = Session("Something")

How does the Application object relate to Session?

  • 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-16T16:33:11+00:00Added an answer on May 16, 2026 at 4:33 pm

    A Session variable is linked to a user. An Application variable is shared between all users.

    Application is a handy vault for storing things you want to persist but you can’t guarantee they’ll always be there. So think low-end caching, short-term variable storage, etc.

    In this context with these definitions, they have very little to do with each other except that getting and setting variables is roughly the same for each.

    Note: there can be concurrency issues when using Application (because you could easily have more than one user hitting something that reads or writes to it) so I suggest you use Application.Lock before you write and Application.Unlock after you’re done. This only really applies to writing.

    Note 2: I’m not sure if it automatically unlocks after the request is done (that would be sensible) but I wouldn’t trust it to. Make sure that any part of the application that could conceivable explode isn’t within a lock otherwise you might face locking other users out.

    Note 3: In that same vein, don’t put things that take a long time to process inside a lock, only the bit where you write the data. If you do something that takes 10 seconds while in a lock, you lock everybody else out.

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

Sidebar

Related Questions

While debugging an ASP.Net MVC application running under IIS Express, I get the following
While debugging a .NET Framework 3.5, WinForms application I spotted some Worker Threads without
How do I display localhost traffic in Fiddler while debugging an ASP.NET application?
While debugging an application i am getting the following error. The CLR has been
I'm investigating a stack trace (seen while debugging) that looks something like the following:
While debugging my application with Delphi 2009, I sometimes get the following exception occurring:
While debugging an ASP.NET application, I want to get a print-out of the entire
While debugging some code I got something like below: #include<stdio.h> int main() { FILE
I found something strange while debugging some code. Apparently, >>> (0-6) is -6 False
While debugging some client side javascript today in Firefox, I ran into something that

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.