Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
UTL_HTTP , 28 of 59
This procedure enables or disables support for the HTTP cookies in the request. If cookie support is enabled for an HTTP request, all cookies saved in the current session and applicable to the request are returned to the Web server in the request in accordance with HTTP cookie specification standards. Cookies set in the response to the request are saved in the current session for return to the Web server in the subsequent requests if cookie support is enabled for those requests. If the cookie support is disabled for an HTTP request, no cookies are returned to the Web server in the request and the cookies set in the response to the request are not saved in the current session, although the Set-Cookie
HTTP headers can still be retrieved from the response.
Use this procedure to change the cookie support setting a request inherits from the session default setting.
UTL_HTTP.set_cookie_support(r IN OUT NOCOPY req, enable IN BOOLEAN DEFAULT TRUE);
Table 78-28 shows the parameters for the SET_COOKIE_SUPPPORT
procedure.
Parameter | Description |
---|---|
r (IN/OUT) |
The HTTP request |
enable (IN) |
Set enable to |
HTTP cookies saved in the current session will last only for the duration of the database session; there is no persistent storage for the cookies. See "UTL_HTTP Examples" for how to use get_cookies
and add_cookies
to retrieve, save, and restore cookies.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|