How To Create A Custom Cookie In Oracle Http Server (Doc ID 1431674.1)

Last updated on JANUARY 20, 2017

Applies to:

Oracle HTTP Server - Version 11.1.1.2.0 to 11.1.2.0.0 [Release Oracle11g]
Information in this document applies to any platform.

Goal

Goal:  Create a custom cookie set by the OHS server.
For example:  Multiple instances of Oracle HTTP Server (OHS) running in an organization.

When a request comes to one of the OHS servers, want to set a cookie which identifies the server in question.

  
Request comes to OHS server on host1, set cookie OHSHOST=ABCD

Request comes to OHS server on host2 , set cookie OHSHOST=XYZ
  

What are the steps to create this cookie?

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