The call Server.GetLastError is not currently supported.
Additional Server Variables
Additional variables whose values are returned by a call to Request.ServerVariables :
The path returned has NO terminating slash.
Server support for password protection
The following calls support Dynamic-CD password protection
Server.EnableUser enables the userName, userPwd combination so that any files protected with that combination will be opened automatically when navigated to.
Server.ClearUser clears the userName, userPwd combination so that any files protected with that combination will require the user to enter a password when navigated to.
Global file access control
Setting Server.GlobFileAccess = FALSE switches off the standard processing of password-protected files : any direct access to the files does not result in password-entry dialog ; the user is denied access immediately.
Access to password-protected files is subsequently only available under script control via Response.UnlockRedirect which unlocks ProtectedText.doc and redirects the user there. If the userName/userPwd is incorrect, the call fails and the script continues.
Server.EncryptFile can be used by Professional and Consultancy Licence holders to automate the production of password - protected CDs. Look here for further details.
Server.FileExists( pathAndFileName) provides support for platforms where the Scripting.FileSystemObject is not available.
Server.LogFileName sets the name of the log file that is appended to by calls to Response.AppendToLog.
The default value is WINDOWS_TEMP_DIR\temp\dyncdlog.txt, where WINDOWS_TEMP_DIR is current user's Windows temporary directory.
The current user's temporary directory can be determined by calling
Stop Dynamic-CD under script control
The Server.StopServer method terminates Dynamic-CD after all pending browser requests have been honoured. This is an automated alternative to informing the user to stop Dynamic-CD by clicking on the icon in the tray,
The method Server.IsInternetConnected returns a boolean value indicating whether the user is connected to the Internet.
This can be used - for example - to turn on or off external links :
|Home Purchase Licenses Limitations Version details Site map Contact Copyright © 2000-2015 phdcc|