Apache::ASP Powered by ModPerl & Apache Powered by Apache::ASP
Demo ASP: global_asa_demo.asp 2024-12-03

This example serves as how one may use the global.asa file event handlers. Please see the global.asa file for the code relevant to this example.

The following table lists the sessions that have been recorded in the global.asa file into $Application. When a session ends, its time lived is recorded and displayed below. Active sessions are also listed.

224 Sessions Recorded
3 Active Sessions

First 200 of 224 displayed.


001c40... 317 seconds
$VAR1 = {};

002d79... 337 seconds
$VAR1 = {};

003df7... 321 seconds
$VAR1 = {};

004397... 111 seconds
$VAR1 = {};

0044f4... 306 seconds
$VAR1 = {};

0056ba... 320 seconds
$VAR1 = {};

0088ae... 1733267626 seconds
$VAR1 = {};

008ffd... 81 seconds
$VAR1 = {};

009750... 348 seconds
$VAR1 = {};

00b0e6... 93 seconds
$VAR1 = {};

00c139... 332 seconds
$VAR1 = {};

00c16d... 72 seconds
$VAR1 = {};

00c98d... 64 seconds
$VAR1 = {};

011138... 315 seconds
$VAR1 = {};

0122c5... 321 seconds
$VAR1 = {};

01252c... 321 seconds
$VAR1 = {};

012c12... 63 seconds
$VAR1 = {};

013329... 80 seconds
$VAR1 = {};

013f73... 307 seconds
$VAR1 = {};

014d02... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267893',
          'Count' => '10'
        };

01510f... 320 seconds
$VAR1 = {};

0152fa... 320 seconds
$VAR1 = {};

015a55... 323 seconds
$VAR1 = {};

01735b... 84 seconds
$VAR1 = {};

019697... 69 seconds
$VAR1 = {};

01a78e... 80 seconds
$VAR1 = {};

01aeda... 1733267706 seconds
$VAR1 = {};

01c7d1... 81 seconds
$VAR1 = {};

01cb70... 323 seconds
$VAR1 = {};

01dd05... 319 seconds
$VAR1 = {};

020576... 322 seconds
$VAR1 = {};

0222a1... 321 seconds
$VAR1 = {};

022cb8... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267719',
          'Count' => '10'
        };

024c81... 301 seconds
$VAR1 = {};

0260b8... 80 seconds
$VAR1 = {};

02618f... 65 seconds
$VAR1 = {};

026538... 80 seconds
$VAR1 = {};

026a2e... 331 seconds
$VAR1 = {};

028c2e... 321 seconds
$VAR1 = {};

029a48... 309 seconds
$VAR1 = {};

029e27... 322 seconds
$VAR1 = {};

029ed6... 82 seconds
$VAR1 = {};

02a900... 71 seconds
$VAR1 = {};

02ba43... 347 seconds
$VAR1 = {};

02cb73... 84 seconds
$VAR1 = {};

02e536... 321 seconds
$VAR1 = {};

02ecb2... 315 seconds
$VAR1 = {};

02fc27... 322 seconds
$VAR1 = {};

02fcb6... 318 seconds
$VAR1 = {};

030eea... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'Count' => '11',
          'onstart' => '1733267947'
        };

030f35... 105 seconds
$VAR1 = {};

032589... 339 seconds
$VAR1 = {};

0326ec... 313 seconds
$VAR1 = {};

0332b7... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267813',
          'Count' => '10'
        };

033805... 81 seconds
$VAR1 = {};

03a9df... 318 seconds
$VAR1 = {};

03aa15... 321 seconds
$VAR1 = {};

03bd12... 329 seconds
$VAR1 = {};

03cb54... 321 seconds
$VAR1 = {};

03cb5f... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267759',
          'Count' => '10'
        };

03ce2e... 321 seconds
$VAR1 = {};

03da3e... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'Count' => '11',
          'onstart' => '1733267974'
        };

03dda8... 91 seconds
$VAR1 = {};

03ec5a... 80 seconds
$VAR1 = {};

03fd1e... 64 seconds
$VAR1 = {};

03fd32... 325 seconds
$VAR1 = {};

043070... 81 seconds
$VAR1 = {};

0436b6... 321 seconds
$VAR1 = {};

04500c... 80 seconds
$VAR1 = {};

04630b... 310 seconds
$VAR1 = {};

0479e6... 316 seconds
$VAR1 = {};

047aad... 83 seconds
$VAR1 = {};

048599... 321 seconds
$VAR1 = {};

0486c5... 81 seconds
$VAR1 = {};

049027... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267732',
          'Count' => '10'
        };

049b64... 82 seconds
$VAR1 = {};

04adcc... 80 seconds
$VAR1 = {};

04ba5c... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267787',
          'Count' => '10'
        };

04c163... 82 seconds
$VAR1 = {};

04d4f9... 89 seconds
$VAR1 = {};

04e0dd... 322 seconds
$VAR1 = {};

04ea09... 320 seconds
$VAR1 = {};

0530d2... 322 seconds
$VAR1 = {};

0544b6... 339 seconds
$VAR1 = {};

054552... 79 seconds
$VAR1 = {};

054a86... 61 seconds
$VAR1 = {};

0572d1... 322 seconds
$VAR1 = {};

058c08... 322 seconds
$VAR1 = {};

059d90... 320 seconds
$VAR1 = {};

05ca9a... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267706',
          'Count' => '10'
        };

060444... 90 seconds
$VAR1 = {};

0607f9... 97 seconds
$VAR1 = {};

06123d... 85 seconds
$VAR1 = {};

065c67... 306 seconds
$VAR1 = {};

066665... 321 seconds
$VAR1 = {};

067b38... 1733267626 seconds
$VAR1 = {};

067ba2... 322 seconds
$VAR1 = {};

067e75... 80 seconds
$VAR1 = {};

06a3be... 81 seconds
$VAR1 = {};

06ba2a... 308 seconds
$VAR1 = {};

06be14... 321 seconds
$VAR1 = {};

06c80e... 325 seconds
$VAR1 = {};

06d9f5... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267626',
          'Count' => '10'
        };

06e95f... 323 seconds
$VAR1 = {};

06ff8b... 329 seconds
$VAR1 = {};

070785... 82 seconds
$VAR1 = {};

070d15... 81 seconds
$VAR1 = {};

072f35... 314 seconds
$VAR1 = {};

073bd7... 326 seconds
$VAR1 = {};

07655b... 310 seconds
$VAR1 = {};

0770be... 106 seconds
$VAR1 = {};

077d3a... 72 seconds
$VAR1 = {};

0785e9... 335 seconds
$VAR1 = {};

0789c3... 347 seconds
$VAR1 = {};

0796be... 107 seconds
$VAR1 = {};

07cae5... 1733267707 seconds
$VAR1 = {};

07ce94... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267654',
          'Count' => '10'
        };

07d580... 348 seconds
$VAR1 = {};

07dcf0... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267840',
          'Count' => '10'
        };

07ebd1... 315 seconds
$VAR1 = {};

07ec3a... 301 seconds
$VAR1 = {};

08057a... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267679',
          'Count' => '10'
        };

080861... 75 seconds
$VAR1 = {};

081dda... 88 seconds
$VAR1 = {};

08225e... 74 seconds
$VAR1 = {};

0833aa... 325 seconds
$VAR1 = {};

083d51... 106 seconds
$VAR1 = {};

083dec... 327 seconds
$VAR1 = {};

084093... 81 seconds
$VAR1 = {};

084b31... 347 seconds
$VAR1 = {};

0857d1... 64 seconds
$VAR1 = {};

087b99... 85 seconds
$VAR1 = {};

08a776... 78 seconds
$VAR1 = {};

08a9c8... 321 seconds
$VAR1 = {};

08b265... 322 seconds
$VAR1 = {};

08b966... 312 seconds
$VAR1 = {};

08c5cc... 74 seconds
$VAR1 = {};

08e1c4... 321 seconds
$VAR1 = {};

08e87f... 321 seconds
$VAR1 = {};

08ec10... 1733267707 seconds
$VAR1 = {};

08fe07... 321 seconds
$VAR1 = {};

090776... 312 seconds
$VAR1 = {};

09145c... 312 seconds
$VAR1 = {};

09284c... 80 seconds
$VAR1 = {};

095308... 1733267947 seconds
$VAR1 = {};

09c643... 343 seconds
$VAR1 = {};

0a0cd7... 87 seconds
$VAR1 = {};

0a16bf... 321 seconds
$VAR1 = {};

0a27fc... 76 seconds
$VAR1 = {};

0a2dee... 308 seconds
$VAR1 = {};

0a2fbe... 91 seconds
$VAR1 = {};

0a4c87... 81 seconds
$VAR1 = {};

0aa0a0... 87 seconds
$VAR1 = {};

0abf45... 81 seconds
$VAR1 = {};

0ae456... 81 seconds
$VAR1 = {};

0afe82... 107 seconds
$VAR1 = {};

0b0cc0... 64 seconds
$VAR1 = {};

0b0e0d... 108 seconds
$VAR1 = {};

0b377a... 320 seconds
$VAR1 = {};

0b46b0... 107 seconds
$VAR1 = {};

0b5aac... 321 seconds
$VAR1 = {};

0b6278... 320 seconds
$VAR1 = {};

0b64c2... 304 seconds
$VAR1 = {};

0b7624... 321 seconds
$VAR1 = {};

0b9839... 77 seconds
$VAR1 = {};

0bbca6... 342 seconds
$VAR1 = {};

0bd77f... 310 seconds
$VAR1 = {};

0c1c54... 104 seconds
$VAR1 = {};

0c399d... 321 seconds
$VAR1 = {};

0c5e1a... 320 seconds
$VAR1 = {};

0c6263... 80 seconds
$VAR1 = {};

0c68a9... 345 seconds
$VAR1 = {};

0c6d80... 1733267947 seconds
$VAR1 = {};

0c7eb4... 321 seconds
$VAR1 = {};

0c91b2... 323 seconds
$VAR1 = {};

0cca85... 318 seconds
$VAR1 = {};

0cd30f... 318 seconds
$VAR1 = {};

0ce227... 339 seconds
$VAR1 = {};

0cfbe2... 81 seconds
$VAR1 = {};

0d1587... 71 seconds
$VAR1 = {};

0d1bdd... 321 seconds
$VAR1 = {};

0d1dad... 321 seconds
$VAR1 = {};

0d1e76... 64 seconds
$VAR1 = {};

0d3dd3... 80 seconds
$VAR1 = {};

0d4c82... 322 seconds
$VAR1 = {};

0d5ca8... 322 seconds
$VAR1 = {};

0d5e19... 322 seconds
$VAR1 = {};

0d60a5... 309 seconds
$VAR1 = {};

0d65d9... 325 seconds
$VAR1 = {};

0d7c7c... 80 seconds
$VAR1 = {};

0d8243... 320 seconds
$VAR1 = {};

0d8cfa... 339 seconds
$VAR1 = {};

0dc7a3... 318 seconds
$VAR1 = {};

0de4ab... 67 seconds
$VAR1 = {};

0def07... 71 seconds
$VAR1 = {};

0e06d4... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1733267920',
          'Count' => '10'
        };

0e21e2... in session
$VAR1 = {
          'Started' => '1',
          'onstart' => '1733267974',
          'Count' => '10'
        };

0e26df... 1733267759 seconds
$VAR1 = {};

0e2e87... 345 seconds
$VAR1 = {};

0e3563... 312 seconds
$VAR1 = {};

To see multiple sessions listed you may create a 2nd session by closing and then reopening the browser you are using to view this file, or you may also open a 2nd kind of browser to create this 2nd session. There is only one session-id generated per browser session for an asp application.


Here is a simple use of the Script_OnStart & Script_OnEnd event handlers, keeping track of the number of scripts executed this session:
Scripts Started This Session: 1
Scripts Ended This Session: 0

view this file's source