My Oracle Support Banner

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

Last updated on OCTOBER 03, 2018

Applies to:

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


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.

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, 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 




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.