Using owa_cookie to Send and Get Cookies (Doc ID 469499.1)

Last updated on JANUARY 31, 2017

Applies to:

Oracle HTTP Server - Version 1.0.2 to 10.1.3.5.0 [Release 9iAS to AS10gR3]
Information in this document applies to any platform.

Goal

Below is some sample code for setting and retrieving the value of a cookie, and a simple method to show its use with an application.



Note:
This is SAMPLE and should work in all versions of the Oracle Database and PL/SQL Toolkit, along with any Oracle HTTP Server and mod_plsql version, pending an update with a newer release to enforce new requirements. Please see the cookie specifications for developing applications with cookies at http://www.ietf.org/rfc/rfc2109.txt, which may be updated from the time of this writing and testing. This is only a simple test to ensure cookies can be set and retrieved by the PL/SQL Toolkit through the Oracle HTTP Server 10.1.2.x. See application developer's guides for best practices when working and programing with cookies.

See also:

<Note 1576588.1> Oracle Web Tier - Statement of Direction
<Note 1290974.1> ALERT: Premier Support Ends Dec 31 2011 for Oracle Application Server 10g 10.1.2 & 10.1.4 

 

  

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms