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 |