X4 Produktdokumentation

User Session Adapter

The adapter allows writing data in the data stream to the user session, read and list data from the user session and invalidate the user session.

Properties


Operation

Operation performed by the adapter

Possible values:

  • Store Content: Writes the data in the data stream to the user session.

  • Get Content: Outputs the record from the user session specified in the key parameter. 

  • List Content:  Outputs a list of the data in the user session.

  • Check User Session: Checks if a user session exists and outputs the user session ID.

  • Clear Session Data: Deletes the data in the user session and invalidates the user session.

Parameter


key

For operation Get User Session: Used as filter.

For Operation Store User Session: Used as the name with which the data in the data stream is stored in the user session.

Possible values:

  • Any string

Status Values


1

The adapter operation was executed successfully.

-1

An error occurred while executing the adapter.

0

The adapter operation did not returned a result.