Oggetto Server ASP
L'oggetto Server viene utilizzato per accedere a proprietà e metodi sul server.
Altri esempi
Controlla quando un file è stato modificato l'ultima volta.
Aprire "Textfile.txt" per la lettura.
Oggetto Server
L'oggetto ASP Server viene utilizzato per accedere a proprietà e metodi sul server. Le sue proprietà e metodi sono descritti di seguito:
Proprietà
Property | Description |
---|---|
ScriptTimeout | Sets or returns the maximum number of seconds a script can run before it is terminated |
Metodi
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 |