Cookie Management

Web Browsers have updated their policy regarding Cookies, and these changes must be applied to your Web Server if you want to embed SEI into your ERP website, change your Web Server binding from HTTP to HTTPS or use Single Sign-On (SSO) authentication.

In order to apply these changes, you will have to edit the web.config file. Open File Explorer and navigate to C:\Program Files\Sage\SEI Server\WebServer\Web.config.

Attributes to be changed in SEI web.config file Value before change Value after change
cookieSameSite
<sessionState cookieSameSite="Lax"/>
<sessionState cookieSameSite="None"/>
httpOnlyCookies / requireSSL / sameSite
<httpCookies httpOnlyCookies="true" requireSSL="false" sameSite="Lax"/>
<httpCookies httpOnlyCookies="true" requireSSL="true" sameSite="None"/>

Embedding SEI

Please reference the following IFrame examples for HTTP and HTTPS when embedding SEI into your ERP website:

HTTP

  • HTTP host embedding HTTP SEI

  • Same domain name

  • SameSite cookie attribute = None or Lax

  • RequireSSL cookie attribute = True or False

Example

Host: http://localhost:802/

SEI Embedding: http://localhost:81/

HTTPS

  • Https host embedding https SEI

  • Different or same domain name

  • SameSite cookie attribute = None or Lax

  • RequireSSL cookie attribute = True

Example

Host: https://exampleerp.demo.com

SEI Embedding: https://yourserver:81

Important  

When embedding SEI into your ERP website using a Chromium-based browser, please ensure that your Web Server is bound through HTTPS rather than HTTP.