Application
Web
Session
Var
MonkeyTerm Object Model
Object: Web
This object holds pointers to everything linked to the webpart of MonkeyTerm.
Property Request() As MTWebServer.Request Used to read the web request. This is active durins a web-event. Values: Returns a collection or GET and POST variables. It is also the default value of the request object, so it can also be read with web.request(paramname) Headers: Returns a collection of headers.
Property Response() As MTWebServer.Response Use the response object to build the web response. This is active during a web-event. Append(s As String): Appends a string to the response object. Use this to build a page by appending all the content. Filename(ByVal vData As String): Reads or writes the filename. This can be used to respond the content of a file. It overwrites any leading or trailing calls to Append(). Redirect(ByVal sUrl As String): Redirects the response to a new URL. Headers: Returns a collection of headers. The items in the collections can be read or written. Mimetype(ByVal vData As String): Reads or writes the "Content-Type" Header. Flush: Flushes the current response. GetContents: Returns the whole response as a string, including headers.
Property Server() As MTWebServer.WebServer Returns the webserver object.
Returns the browser object.
Property Doc() As Object Returns the document object of the browser. Equivalent to Web.Browser.IE.document
|