| Dynamic-CD |
|
Overview
• Introduction • Getting started • Dynamic-CD wizard Passwords & Encryption • Overview • Example 1 • Example 2 Scripts • The script language • Script examples • Database scripts Technical details • Applications • Built-in objects • Character Encoding • Cookies • Database CDs • Development tips • FAQs • Future developments • Global.asa • Network support • Object registration • Resources • ScriptingContext • Server-side includes • Sessions • Technical limits |
Exercising ASP features Here are examples of the use of ASP features that have not been demonstrated in the other examples.
Request.ServerVariables This call returns a number of useful parameters, including :
Use the ROOT_DIR to locate support files - such as a database - on the CD. Use the WINDOWS_TEMP_DIR to write "temporary" information to the user's hard disk. Customisation could be supported by writing user settings to the Windows temporary directory, and recovering it when starting a new session. Writing to the user's hard disk should be done with care, after warning the user.
Server.ScriptTimeout If a script takes too long to process, Dynamic-CD terminates the script after 30 seconds. You can change this default value as shown in the following example.
© Copyright 2000-2007 PHD Computer Consultants Ltd |