Using the EAI HTTP Transport in Session Mode

The session mode uses the HTTP session cookie to retain the session information between the HTTP requests. The session mode can be viewed when a sequence of calls is supported from an HTTP application into the EAI HTTP Transport.

To use the EAI HTTP Transport in session mode

  1. Log in to the Siebel application. If successful, then an HTTP session cookie named _sn is returned in an HTTP set-cookie header.

  2. Submit one or more subsequent requests.

    Each request is intended as a call to a Siebel business service or workflow depending on the configuration of the named subsystem in use. Requests must contain the session cookie (_sn) from the previous step in either the HTTP cookie header or the URL string as a parameter.

  3. Log off. The request must contain the session cookie from Step 1. The cookie refers to the session to be closed.

Note: For session mode inbound HTTP requests, the expiration date of the cookie sent to the client application is not set, because it is expected that this cookie is used to send multiple requests within the same session.