ASP Session, Server, and Application Objects

Apart from the Request and Response objects, ASP also has access to Session, Server, and Application objects. This is actually one of the benefits of ASP over CGI and ISAPI: An Active Server Object can access session and application information without any further effort on your part (by using cookies, hidden fields, or fat URLs).

Recall from the previous example that your TDrBob42 class was derived from the TASPObject class. In addition to the Request and Response properties, this class introduces the TASPObject.Session, Server, and Application properties. These properties provide direct access to the underlying ASP Session, Server, and Application objects, respectively. You can also use these properties ...

Get Borland® Delphi™ 6 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.