Active Server Pages Reference

1.2, 2005-06-26
Brian Lalonde
ContentsASPmeta
Syntax BasicsSpecial ASP blocks, and some rudimentary SSI support.1
Server DirectivesSet the script language, code page, or locale; or enable session or transaction.1
global.asa fileCreate application- or session-level obejcts or values.1
Application objectStores values and objects, fires events, and provides locking, at the application level.1
Application.Contents collectionAssociative array that can be used to store simple values, keyed by name.1
Application.Lock methodObtains exclusive write access to the Application object.1
Application.StaticObjects collectionCollection of application objects declared in the global.asa file.1
Application.Unlock methodReleases exclusive write access to the Application object.1
Session objectStores persistant information for each user session.1
Session.Abandon methodCloses the session, freeing up all associated resources.1
Session.CodePage propertySets the code page (Windows character set) for a session.1
Session.Contents collectionCollection of variables stored in the Session object.1
Session.LCID propertySets the locale ID for a session.1
Session.SessionID propertyReturns this session identifier.1
Session.StaticObjects collectionCollection of session objects declared in the global.asa file.1
Session.Timeout propertyNumber of minutes of inactivity before this session times out.1
Server objectA collection of methods provided by the webserver.1
Server.CreateObject methodCreates an instance of a COM server component.1
Server.Execute methodRuns another ASP file as if it were a subroutine in the current file.3
Server.GetLastError methodReturns the last error as an ASPError object, for use in custom error pages.3
Server.HTMLEncode methodEscapes special HTML characters.1
Server.MapPath methodReturns a full physical path, given a virtual or relative path.1
Server.ScriptTimeout propertySets the number of seconds a script is allowed to run.1
Server.Transfer methodBegins executing another ASP file, with all the variables and objects from the current file.3
Server.URLEncode methodEscapes special URL characters.1
Request objectThe client request.1
Request.BinaryRead methodReturns the requested number of binary bytes from those sent by the client.1
Request.ClientCertificates collectionProperties of the client certificate, when one is sent by the browser.1
Request.Cookies collectionPotentially two-dimensional read-only collection of persistant client values.1
Request.Form collectionData passed to the server via a POST form.1
Request.QueryString collectionData passed to the server as a part of the URL, as with a GET form.1
Request.ServerVariables collectionA collection of standard CGI values.1
Request.TotalBytes propertyThe size of the client request, used with BinaryRead.1
Response objectThe server response.1
Response.AddHeader methodAdds a custom HTTP header.1
Response.AppendToLog methodAppends text to the server log.1
Response.BinaryWrite methodSends binary data to the client.1
Response.Buffer propertyEnables a buffered response.1
Response.CacheControl propertySpecifies an HTTP cache command.1
Response.Clear methodClears buffered response content.1
Response.ContentType propertySpecifies an HTTP MIME type.1
Response.Charset propertyAdds the character set modifier to the HTTP MIME type.1
Response.Cookies collectionPotentially two-dimensional write-only collection of persistant client values.1
Response.End methodFlushes buffered content and ends script.1
Response.Expires propertySpecifies a relative HTTP content expiration.1
Response.ExpiresAbsolute propertySpecifies an absolute HTTP content expiration.1
Response.Flush methodFlushes buffered content.1
Response.IsClientConnected propertyTrue if the client is still waiting for a response, or false if not.1
Response.PICS propertySpecifies the RSAC PICS rating for the generated page.1
Response.Redirect methodInstructs the browser to request the given URL.1
Response.Status propertySets the HTTP response status.1
Response.Write methodSends text to the client.1
IStringList collectionA list of values associated with a Request collection variable name.1
InternationalizationProvides fomatting and alphabets for various cultures.1