ASP ClassicLesson 36Free preview
ASP Application
This lesson is part of ASP · All levels
Summary
The Application object stores data that is applicable to all visitors to the site, such as a visitor count or shared configuration. This data is stored in the server's memory so that changes by one user are immediately visible to the other user. Since they are used together, written access needs to be locked with Application.Lock to avoid collisions.
Key points
- The application is global to all site visitors.
- Application.Lock and Application.Unlock keep the data consistent together.
- The Application value remains until the application is reset or the server stops.
- Application_OnStart and Application_OnEnd are addressed at Global.asa.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.