How to Store JSESSIONID as a Cookie and Disable URL Rewriting
Last updated on DECEMBER 11, 2017
Applies to:Oracle Forms - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Oracle Forms is a stateful technology. In other words, in order to maintain the health of a Forms application session, client activity during the session must be retained and synchronized with its corresponding server side companion. In order to properly match this client and server relationship, a JSESSIONID is generated and retained throughout the life of the running application. In the absence of such a session identifier, the server would not be able to distinguish between communications arriving from its related client and other clients sending requests. Because Oracle Forms does require statefulness, JSESSIONID is also used for loadbalancing. The JSESSIONID is used to ensure that loadbalancers properly route communications to and from the correct client/server partners.
By default, Oracle Forms requests a JSESSIONID be generated and maintained in the URL of each exchange between the client and server. The JSESSIONID is generated by the WebLogic Server (WLS) managed server hosting the Forms Servlet. WLS adds the JSESSIONID to the URL using a method called URL Rewriting. For some environments, including the JSESSIONID in each URL exchange may not be desirable.
This document will describe how the session's JSESSIONID can be stored as a cookie rather than data in the URL.
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