ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Wrapper for calls to put or get an HTTP_COOKIE
AUTHID
DEFINER
Data Types
TYPE vc_arr IS TABLE OF VARCHAR2(4096) INDEX BY BINARY_INTEGER;
TYPE cookie IS RECORD (
name VARCHAR2(4096),
vals vc_arr,
num_vals INTEGER);
Generates an HTTP header line in the form:
Set-Cookie: <name>=<value> expires=<expires> path=<path>
domain=<domain> [secure]
owa_cookie.send(
name IN VARCHAR2,
value IN VARCHAR2,
expires IN DATE DEFAULT NULL,
path IN VARCHAR2 DEFAULT NULL,
domain IN VARCHAR2 DEFAULT NULL,
secure IN VARCHAR2 DEFAULT NULL,
httponly IN VARCHAR2 DEFAULT NULL);
BEGIN
owa_util.mime_header('text/html', FALSE);
owa_cookie.send('UWCOOKIE','Oracle', SYSDATE+30);
END;
/