Each new IP address access of Dynamic-CD starts a new Session, with associated SessionID. Each IP address has its own set of Session variables. Session variables are not retained between runs of Dynamic-CD.
A Session lasts until the Session is abandoned with Session.Abandon or until Dynamic-CD exits. The Session.Timeout value is currently ignored and Sessions do not timeout.
At the start and end of each session, the root directory of the web site is searched for the file global.asp and the events Session_OnStart and Session_OnEnd are fired.
The ASP syntax of this file is, arguably, non-standard. Dynamic-CD, instead, uses the file global.asp, which can be encrypted by Dynamic-CD-Wizard and which should be written using normal script syntax.
If the file global.asp exists in your root directory, it MUST provide support for Session and Application events, even if these are null.
If global.asp contains any functions that output to the browser, such as Response.Write , any output is ignored.
Support for Response.Redirect in global.asp is not yet implemented.
See below for information about the <OBJECT> tag.
Example of using global.asp
A global.asp file :
A test script :
The ASP script language does not support <OBJECT> tags in "global.asp" and so the collections Application.StaticObjects and Session.StaticObjects are always empty.
However, objects can be stored in the Application and Session Objects directly as in :
Note that the Set command is needed to set an object value.
Dynamic-CD's ASP script language ignores calls to Application.Lock and Application.Unlock. Dynamic-CD's ASP scripts run to completion before another script is run and so other users of Dynamic-CD will not interfere with a given script run.
The Session.Timeout value is currently ignored and Sessions do not timeout.
The Session.CodePage property is fully supported by the Dynamic-CD International Version. Other versions of Dynamic-CD support the default CodePage (ANSI 1252), and the Unicode CodePage (65001).
The Unicode CodePage is supported by serving unchanged those characters whose ASCII value is less than 128. Characters whose ASCII value is greater than 127 are served as the HTML representation (ASCII);, where (ASCII) is the ASCII value as text.
So, for example,
|Home Purchase Licenses Limitations Version details Site map Contact Copyright © 2000-2020 phdcc|