Apache::ASP Powered by ModPerl & Apache Powered by Apache::ASP
Demo ASP: session.asp 2024-03-28

This file demonstrates the use of the $Session object, as well as one implementantion of cookieless sessions involving the use of the SessionQuery setting, and the $Server->URL($url, \%params) method to add session ids to the form query string.

To demo the cookieless sessions, just turn off your cookies and use this form.

Session Object Demonstration
$Session->{Count} 10
$Session->{Timeout} 5
$Session->{SessionID} 0f8854525a7ae8f7684b2f423d5b33f5

The value for $Session->{Count} gets reset to 10 on every session start in the global.asa file.

view this file's source