Objet serveur ASP


L'objet Server est utilisé pour accéder aux propriétés et aux méthodes sur le serveur.


Plus d'exemples


Vérifiez quand un fichier a été modifié pour la dernière fois.


Ouvrez "Textfile.txt" pour la lecture.


Objet serveur

L'objet ASP Server est utilisé pour accéder aux propriétés et aux méthodes sur le serveur. Ses propriétés et méthodes sont décrites ci-dessous :

Propriétés

Property Description
ScriptTimeout Sets or returns the maximum number of seconds a script can run before it is terminated

Méthodes

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