Table of Contents

Configuring SameSite and Secure attributes for session cookies in N4V for Webi with cross-domain architecture

Anonymised summary of support ticket #813660 (2022-10-05)

Symptom

Warnings about SameSite and Secure attributes of cookies when debugging Webi documents containing N4V elements. Firefox defaults SameSite to 'None' while Webi uses 'Lax'. Cross-domain architecture between BI SSO DNS and N4V virtual server DNS.

Environment

SAP BusinessObjects Web Intelligence with N4V extensions, Tomcat server, Firefox browser, cross-domain setup between BI SSO and N4V virtual server.

Resolution

  1. Configure SameSite attribute for session cookies based on cross-domain requirements: use 'None' with Secure attribute for cross-domain scenarios, or 'Lax' for same-domain scenarios.
  2. For session persistence, use ROUTEID cookie instead of JSESSIONID when interacting with BI RESTful services (biprws), as JSESSIONID is not managed by these services according to SAP notes.
  3. Ensure N4V custom elements function correctly with the configured session persistence, as N4V does not rely on BI session cookies but uses static files served via Webi iframes.

Other resolution

No session persistence is required between Node.js (N4V API) and CMC. Verify functionality of N4V navigation components (lists, buttons, sliders) and Webi native element links within N4V components after configuration changes.