ASPサーバーオブジェクト
Serverオブジェクトは、サーバーのプロパティとメソッドにアクセスするために使用されます。
その他の例
ファイルが最後に変更されたのはいつかを確認してください。
開く読むために「Textfile.txt」を開きます。
サーバーオブジェクト
ASPサーバーオブジェクトは、サーバー上のプロパティとメソッドにアクセスするために使用されます。そのプロパティとメソッドを以下に説明します。
プロパティ
Property | Description |
---|---|
ScriptTimeout | Sets or returns the maximum number of seconds a script can run before it is terminated |
メソッド
Method | Description |
---|---|
CreateObject | Creates an instance of an object |
Execute | Executes an ASP file from inside another ASP file |
GetLastError() | Returns an ASPError object that describes the error condition that occurred |
HTMLEncode | Applies HTML encoding to a specified string |
MapPath | Maps a specified path to a physical path |
Transfer | Sends (transfers) all the information created in one ASP file to a second ASP file |
URLEncode | Applies URL encoding rules to a specified string |