Migration To IP2015: Not Reusing Existing Session, Always Creating A New One (_SN, SRN)

(Doc ID 2349578.1)

Last updated on JANUARY 17, 2018

Applies to:

Siebel CRM - Version 8.1.1.2[21215] and later
Information in this document applies to any platform.

Goal

How to use SRN without creating multiple sessions?


Currently the Siebel application is invoked from an external application using SWE commands. To perform the navigation to the different view's customer is using URL parameters, that are retrieved with vanilla BS "Web Engine HTTP TXN".

Sample of Swe command in 8.1.1.2 version:
SWECmd=GotoView&SWEView=BESExecuteNPTContext&SWEApplet=BESExecuteNPTContext&_sn=Y46HiwXpsElhKieyNx8NKCJTjCn4mh5I0ZUXqUxUlP9WwQ.JCa1Dfi7gADsWZ7Y8&SWENargs=ViewCode%3d03%2cIDENT%3d0007%2cIDORG%3dB0023

The view BESExecuteNPTContext reads parameter SWENargs, and using the value in ViewCode navigates to the desired siebel screen

On IP2015 testing environment the invoked URL was changed to use the SRN parameter as described in the documentation.

The first approach was to replace the _sn variable by the SRN variable, using the following URL

SWECmd=GotoView&SWEView=BESExecuteNPTContext&SWEApplet=BESExecuteNPTContext&SRN=w0w9k6J7X3OkHcTCoHq8VQRUoTYSPhh5ynCnPzvxEm4b&SWENargs=ViewCode%3d17%2cIDENT%3d0007%2cIDORG%3dB0772

In this approach, the session is not reused and in every invocation a new session is created.

As a second approach the _sn and SRN variable are used at the same time and session management performed correctly, but we cannot navigate to the desired view, because we are unable to read the parameters passed in the URL, because what Siebel gets is a "SWECmd=GotoPostedAction(...)" when the original command was "SWECmd=GotoView(...)"
Our conclusion was that when the two parameters (_SN+SRN) are used in swe command, the analyzed request is not the original and for this reason it is not possible to access the injected url parameters (SWENargs).

How can we revert to the original intended behaviour?
 

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