Complete Application Object Reference
The Application_OnStart event occurs before the first new session is created (when the Application object is first referenced).
This event is placed in the Global.asa file.
Note: Referencing to a Session, Request, or Response objects in the Application_OnStart event script will cause an error.
The Application_OnEnd event occurs when the application ends (when the web server stops).
This event is placed in the Global.asa file.
Note: The MapPath method cannot be used in the Application_OnEnd code.
Global.asa:
To display the number of current visitors in an ASP file:
Complete Application Object Reference
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|