Apache::ASP Powered by ModPerl & Apache Powered by Apache::ASP
Demo ASP: global_asa_demo.asp 2022-05-25

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.

148 Sessions Recorded
4 Active Sessions


0002c9... 341 seconds
$VAR1 = {};

000ee1... 70 seconds
$VAR1 = {};

00221f... 73 seconds
$VAR1 = {};

003530... 65 seconds
$VAR1 = {};

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

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

009adc... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1653482393',
          'Count' => '10'
        };

00bbd9... 326 seconds
$VAR1 = {};

00c03d... 350 seconds
$VAR1 = {};

01097a... 78 seconds
$VAR1 = {};

0109b3... 317 seconds
$VAR1 = {};

011c8f... 337 seconds
$VAR1 = {};

012432... 305 seconds
$VAR1 = {};

0143ed... 66 seconds
$VAR1 = {};

0157b6... 1653482415 seconds
$VAR1 = {};

017020... 67 seconds
$VAR1 = {};

01904e... 309 seconds
$VAR1 = {};

0194f6... 1653482415 seconds
$VAR1 = {};

019585... 88 seconds
$VAR1 = {};

019aca... 319 seconds
$VAR1 = {};

01a14a... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1653482351',
          'Count' => '10'
        };

01bb7f... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1653482348',
          'Count' => '10'
        };

01c135... 65 seconds
$VAR1 = {};

0215c0... 73 seconds
$VAR1 = {};

0271d3... 64 seconds
$VAR1 = {};

028347... 313 seconds
$VAR1 = {};

02c244... 65 seconds
$VAR1 = {};

02c583... 327 seconds
$VAR1 = {};

02ca05... 93 seconds
$VAR1 = {};

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

02e5dd... 309 seconds
$VAR1 = {};

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

031928... 346 seconds
$VAR1 = {};

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

03bacd... 328 seconds
$VAR1 = {};

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

03cbef... 73 seconds
$VAR1 = {};

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

040987... 62 seconds
$VAR1 = {};

041788... 318 seconds
$VAR1 = {};

04a1fb... 314 seconds
$VAR1 = {};

04c353... 333 seconds
$VAR1 = {};

04d372... 68 seconds
$VAR1 = {};

04db6a... 73 seconds
$VAR1 = {};

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

05191b... 312 seconds
$VAR1 = {};

05258c... 1653482415 seconds
$VAR1 = {};

05271c... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1653482467',
          'Count' => '10'
        };

054ce0... 71 seconds
$VAR1 = {};

056184... 336 seconds
$VAR1 = {};

057d55... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'Count' => '11',
          'onstart' => '1653482583'
        };

05e158... 1653482415 seconds
$VAR1 = {};

06048a... 310 seconds
$VAR1 = {};

061238... 310 seconds
$VAR1 = {};

062c24... 82 seconds
$VAR1 = {};

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

064a80... 90 seconds
$VAR1 = {};

064ecf... 87 seconds
$VAR1 = {};

0677a6... 304 seconds
$VAR1 = {};

068b8b... 77 seconds
$VAR1 = {};

069958... 331 seconds
$VAR1 = {};

06b73a... 106 seconds
$VAR1 = {};

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

06dad4... 79 seconds
$VAR1 = {};

070d99... 305 seconds
$VAR1 = {};

072636... 100 seconds
$VAR1 = {};

0745af... 324 seconds
$VAR1 = {};

074a02... 327 seconds
$VAR1 = {};

079fae... 76 seconds
$VAR1 = {};

07b53c... 312 seconds
$VAR1 = {};

07bfb2... 305 seconds
$VAR1 = {};

07fc3a... 70 seconds
$VAR1 = {};

081194... 361 seconds
$VAR1 = {};

08705a... 308 seconds
$VAR1 = {};

087416... 328 seconds
$VAR1 = {};

087ba8... 351 seconds
$VAR1 = {};

08f509... 315 seconds
$VAR1 = {};

08f84f... 76 seconds
$VAR1 = {};

08feda... 334 seconds
$VAR1 = {};

09030a... 71 seconds
$VAR1 = {};

094434... 310 seconds
$VAR1 = {};

0966f7... 70 seconds
$VAR1 = {};

0a11c3... 326 seconds
$VAR1 = {};

0a1832... 334 seconds
$VAR1 = {};

0a1b19... 302 seconds
$VAR1 = {};

0a35b3... 83 seconds
$VAR1 = {};

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

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

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

0a7efa... 327 seconds
$VAR1 = {};

0a8565... 74 seconds
$VAR1 = {};

0a8e63... 1653482584 seconds
$VAR1 = {};

0a8e84... 317 seconds
$VAR1 = {};

0aa281... 94 seconds
$VAR1 = {};

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

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

0ae228... 330 seconds
$VAR1 = {};

0b1025... 306 seconds
$VAR1 = {};

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

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

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

0bc744... 110 seconds
$VAR1 = {};

0bd023... 84 seconds
$VAR1 = {};

0bdb8d... 121 seconds
$VAR1 = {};

0bdc5a... 305 seconds
$VAR1 = {};

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

0c0d47... 75 seconds
$VAR1 = {};

0c114c... 317 seconds
$VAR1 = {};

0c7f3b... 123 seconds
$VAR1 = {};

0c8815... 351 seconds
$VAR1 = {};

0cad6f... 78 seconds
$VAR1 = {};

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

0d12b9... 73 seconds
$VAR1 = {};

0d1d74... 99 seconds
$VAR1 = {};

0d200e... 330 seconds
$VAR1 = {};

0d26b4... 319 seconds
$VAR1 = {};

0d273a... 329 seconds
$VAR1 = {};

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

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

0d6320... 319 seconds
$VAR1 = {};

0d7969... 61 seconds
$VAR1 = {};

0da82f... 65 seconds
$VAR1 = {};

0de3e1... 99 seconds
$VAR1 = {};

0df0bd... 70 seconds
$VAR1 = {};

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

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

0e5329... 343 seconds
$VAR1 = {};

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

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

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

0eb9f4... 311 seconds
$VAR1 = {};

0eb9f8... 333 seconds
$VAR1 = {};

0ec40b... 65 seconds
$VAR1 = {};

0ee652... 69 seconds
$VAR1 = {};

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

0f0ce4... 68 seconds
$VAR1 = {};

0f14be... 90 seconds
$VAR1 = {};

0f1b52... 89 seconds
$VAR1 = {};

0f2906... 62 seconds
$VAR1 = {};

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

0f5cec... 68 seconds
$VAR1 = {};

0f7c97... 70 seconds
$VAR1 = {};

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

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

0fc0fe... 93 seconds
$VAR1 = {};

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

0fefbf... 330 seconds
$VAR1 = {};

0ffe9b... 323 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