Sessions
Sessions
Summary
SAP session cookies now get passed through Api Proxy functionality. These cookies have their values encrypted to prevent tampering or usage outside Link. Utilizing sessions enables the caching of Variant Configuration data to improve performance of VC requests.
Using Sessions
For session functionality, there is a new session
header parameter. This header accepts 2 values:
-
Keep: When the
session: keep
is included in a request, and no session cookie is provided, Link will establish a new session with SAP for the user and return the SAP session cookies with encrypted values. If the header is included with session cookies, the existing session will be used and maintained for the request. -
End (Default): When the
session: end
is included in a request, or when nosession
header is provided, Link will not maintain any session with SAP. If a session cookie is provided, the related session will be terminated.