Apache::ASP Powered by ModPerl & Apache Powered by Apache::ASP
Demo ASP: global_asa_demo.asp 2023-01-29

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.

185 Sessions Recorded
1 Active Sessions


0002e6... 369 seconds
$VAR1 = {};

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

00232b... 364 seconds
$VAR1 = {};

004216... 392 seconds
$VAR1 = {};

004f9a... 349 seconds
$VAR1 = {};

00638d... 312 seconds
$VAR1 = {};

008a28... 360 seconds
$VAR1 = {};

00909a... 328 seconds
$VAR1 = {};

0092f9... 317 seconds
$VAR1 = {};

00bf39... 360 seconds
$VAR1 = {};

00c5c8... 311 seconds
$VAR1 = {};

01254a... 336 seconds
$VAR1 = {};

012bab... 304 seconds
$VAR1 = {};

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

013c66... 346 seconds
$VAR1 = {};

014564... 364 seconds
$VAR1 = {};

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

0158e9... 301 seconds
$VAR1 = {};

01a937... 356 seconds
$VAR1 = {};

01ab9e... 357 seconds
$VAR1 = {};

01ad56... 371 seconds
$VAR1 = {};

01cb61... 322 seconds
$VAR1 = {};

01ceb1... 393 seconds
$VAR1 = {};

01d798... 315 seconds
$VAR1 = {};

01dfee... 322 seconds
$VAR1 = {};

01f7ab... 351 seconds
$VAR1 = {};

01f973... 314 seconds
$VAR1 = {};

01fb85... 340 seconds
$VAR1 = {};

01fdc7... 312 seconds
$VAR1 = {};

023f8c... 369 seconds
$VAR1 = {};

024091... 330 seconds
$VAR1 = {};

026b93... 323 seconds
$VAR1 = {};

02a95d... 433 seconds
$VAR1 = {};

02fb0b... 338 seconds
$VAR1 = {};

0309a2... 308 seconds
$VAR1 = {};

03343b... 349 seconds
$VAR1 = {};

03404e... 329 seconds
$VAR1 = {};

0352b9... 350 seconds
$VAR1 = {};

0365c0... 356 seconds
$VAR1 = {};

03ad32... 371 seconds
$VAR1 = {};

03ed34... 347 seconds
$VAR1 = {};

03f424... 342 seconds
$VAR1 = {};

03fcdd... 336 seconds
$VAR1 = {};

0432d5... 311 seconds
$VAR1 = {};

0443a3... 351 seconds
$VAR1 = {};

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

044e01... 330 seconds
$VAR1 = {};

04600b... 344 seconds
$VAR1 = {};

0461b7... in session
$VAR1 = {
          'Started' => '1',
          'onstart' => '1675003798',
          'Count' => '10'
        };

0462b1... 442 seconds
$VAR1 = {};

047136... 368 seconds
$VAR1 = {};

048718... 363 seconds
$VAR1 = {};

048763... 330 seconds
$VAR1 = {};

04af26... 318 seconds
$VAR1 = {};

04b473... 366 seconds
$VAR1 = {};

04bb43... 328 seconds
$VAR1 = {};

04d90e... 331 seconds
$VAR1 = {};

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

04e982... 311 seconds
$VAR1 = {};

04f217... 361 seconds
$VAR1 = {};

04fa3b... 344 seconds
$VAR1 = {};

050f63... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1675003766',
          'Count' => '10'
        };

05244d... 324 seconds
$VAR1 = {};

05264a... 328 seconds
$VAR1 = {};

052a17... 307 seconds
$VAR1 = {};

0532c8... 326 seconds
$VAR1 = {};

053ae5... 308 seconds
$VAR1 = {};

053b61... 345 seconds
$VAR1 = {};

05412a... 339 seconds
$VAR1 = {};

0543b0... 393 seconds
$VAR1 = {};

05486a... 421 seconds
$VAR1 = {};

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

056675... 355 seconds
$VAR1 = {};

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

057b6b... 334 seconds
$VAR1 = {};

057c2d... 349 seconds
$VAR1 = {};

05a0b1... 381 seconds
$VAR1 = {};

05b71e... 350 seconds
$VAR1 = {};

05b74e... 402 seconds
$VAR1 = {};

05d6c1... 375 seconds
$VAR1 = {};

05fea4... 328 seconds
$VAR1 = {};

06017b... 328 seconds
$VAR1 = {};

06097d... 409 seconds
$VAR1 = {};

061762... 316 seconds
$VAR1 = {};

064fa0... 343 seconds
$VAR1 = {};

0652c0... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1675003515',
          'Count' => '10'
        };

067130... 330 seconds
$VAR1 = {};

0691e6... 368 seconds
$VAR1 = {};

069fd0... 346 seconds
$VAR1 = {};

06b884... 358 seconds
$VAR1 = {};

06cd95... 331 seconds
$VAR1 = {};

06fbb7... 318 seconds
$VAR1 = {};

070452... 304 seconds
$VAR1 = {};

0765cd... 355 seconds
$VAR1 = {};

07766b... 373 seconds
$VAR1 = {};

07793d... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1675003598',
          'Count' => '10'
        };

077e07... 334 seconds
$VAR1 = {};

07a3fb... 368 seconds
$VAR1 = {};

07b4bd... 335 seconds
$VAR1 = {};

07d1d9... 423 seconds
$VAR1 = {};

07ec2d... 356 seconds
$VAR1 = {};

07f5a0... 343 seconds
$VAR1 = {};

083967... 354 seconds
$VAR1 = {};

085af0... 317 seconds
$VAR1 = {};

086e3e... 358 seconds
$VAR1 = {};

0874fb... 333 seconds
$VAR1 = {};

08aa0c... 332 seconds
$VAR1 = {};

08b7e0... 345 seconds
$VAR1 = {};

08c574... 394 seconds
$VAR1 = {};

08fbb6... 325 seconds
$VAR1 = {};

095de6... 367 seconds
$VAR1 = {};

09a150... 314 seconds
$VAR1 = {};

09ac90... 431 seconds
$VAR1 = {};

09da2e... in session
$VAR1 = {
          'Started' => '1',
          'Ended' => '1',
          'onstart' => '1675003679',
          'Count' => '10'
        };

09f277... 335 seconds
$VAR1 = {};

09f981... 352 seconds
$VAR1 = {};

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

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

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

0a24df... 1675003515 seconds
$VAR1 = {};

0a48df... 344 seconds
$VAR1 = {};

0a55a3... 315 seconds
$VAR1 = {};

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

0a7dec... 361 seconds
$VAR1 = {};

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

0a9110... 431 seconds
$VAR1 = {};

0aa237... 332 seconds
$VAR1 = {};

0aabcc... 331 seconds
$VAR1 = {};

0ab249... 370 seconds
$VAR1 = {};

0abf58... 426 seconds
$VAR1 = {};

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

0ad56a... 366 seconds
$VAR1 = {};

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

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

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

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

0afce1... 396 seconds
$VAR1 = {};

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

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

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

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

0bd1ae... 360 seconds
$VAR1 = {};

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

0c36f6... 344 seconds
$VAR1 = {};

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

0c411c... 369 seconds
$VAR1 = {};

0c6168... 372 seconds
$VAR1 = {};

0c6e52... 350 seconds
$VAR1 = {};

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

0ca3d5... 1675003515 seconds
$VAR1 = {};

0cd090... 362 seconds
$VAR1 = {};

0cefe8... 358 seconds
$VAR1 = {};

0d2043... 324 seconds
$VAR1 = {};

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

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

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

0ddb63... 316 seconds
$VAR1 = {};

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

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

0e3962... 341 seconds
$VAR1 = {};

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

0e7f1e... 429 seconds
$VAR1 = {};

0e83ee... 356 seconds
$VAR1 = {};

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

0e9ecc... 424 seconds
$VAR1 = {};

0eb37a... 356 seconds
$VAR1 = {};

0eb72b... 344 seconds
$VAR1 = {};

0ec337... 1675003515 seconds
$VAR1 = {};

0edf36... 353 seconds
$VAR1 = {};

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

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

0f0d40... 416 seconds
$VAR1 = {};

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

0f1076... 344 seconds
$VAR1 = {};

0f125a... 313 seconds
$VAR1 = {};

0f1e12... 338 seconds
$VAR1 = {};

0f5503... 418 seconds
$VAR1 = {};

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

0f7a71... 360 seconds
$VAR1 = {};

0f81e3... 337 seconds
$VAR1 = {};

0f967e... 352 seconds
$VAR1 = {};

0fd69d... 341 seconds
$VAR1 = {};

0fd8ad... 335 seconds
$VAR1 = {};

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

0ff6fd... 356 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