O'Reilly logo

Oracle® Web Application Programming for PL/SQL® Developers by Benjamin Rosenzweig, Solomon Morse, Melanie Caffrey, Susan Boardman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unit 15.2. The Web Toolkit and Cookies

Three Cookie Actions

As a Web developer, there are three main actions you need to know in order to work with cookies; in fact, you will probably only use the first two:

  1. send— Send a cookie, or reset the value of an existing cookie

  2. get— Get, or read, the value of an existing cookie

  3. delete— Delete an expired cookie by setting its expiration date to the past. (This option is not often done and may not be handled as expected by the browser.)

OWA_COOKIE Package

Oracle provides a package, OWA_COOKIE, with procedures that allow you to perform each of these actions (Table 15.2). Other elements in the OWA_COOKIE package, such as the OWA_COOKIE type, provide additional built-in support for cookies.

HTTP Header ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required