Home » Documentation » WebResponse

WebResponse

The WebResponse object allows for a simple way of responding to client requests.

Constructors

Name Description
Constructor  Initializes a new instance of the WebResponse class.
Arguments:
(void)
(CurrentRequest, CurrentResponse, CurrentSystemOutput)

Methods

Name Description
AddHeader  Add headers to the response with the specified string key and value arguments.
Arguments:
(Key, Value)
ClearCookies  Deletes cookies.
Arguments:
(void)
(Path)
(Path, Domain)
ClearSession  Deletes all sessions.
Cookies  Creates a cookie.
Arguments:
(Key, Value)
(Key, Value, Minutes)
(Key, Value, Minutes, Path)
(Key, Value, Minutes, Path, Domain)
(Key, Value, Minutes, Path, Domain, Secure)
End  Terminates the connection with the client.
Finalize  Used to determine whether a redirect headers or data is written to the connection before the connection is terminated.
Arguments:
(void)
(Data)
Redirect  Writes a redirect header to the connection with the specified value argument.
Arguments:
(Value)
Session  Creates a new session with the specified string key and value arguments.
Arguments:
(Key, Value)
Write  Writes the specified data to the connection.
Arguments:
(Value)

Properties

Name Description
RedirectURL  Get or set the URL that is used for redirection in this instance.
Are you a robot?
Your Email:
Create a Username:
Create a Password:
Forgot Password?
Validate Text: Captcha