Troubleshooting Server Side

Find the session ID and request ID on the server.

On the server side, you can use the Salesforce B2C Commerce APIs to retrieve the session and request IDs.

ID API
Session dw.system.Session.sessionID : String
Request dw.system.Request.requestID : String

Important storefront Application pipelines:

  • OnSession-Do � called during first request of session, also if a cached page is delivered
  • OnRequest-Do � called for each request, also if a cached page is delivered
  • Prefix-Start � called before the actual pipeline if dynamic response is delivered

Important parameters for code instrumentation:

  • Request.gethttpQueryString
  • Request.gethttpReferer
  • Request.gethttpUserAgent

See the B2C Commerce API Documentation for more information.