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 Nectari 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\Nectari\Nectari Server\WebServer\Web.config.

Attributes to be changed in Nectari 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 Nectari

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

HTTP

  • HTTP host embedding HTTP Nectari

  • Same domain name

  • SameSite cookie attribute = None or Lax

  • RequireSSL cookie attribute = True or False

Example

Host: http://localhost:802/

Nectari Embedding: http://localhost:81/

HTTPS

  • Https host embedding https Nectari

  • Different or same domain name

  • SameSite cookie attribute = None or Lax

  • RequireSSL cookie attribute = True

Example

Host: https://exampleerp.demo.com

Nectari Embedding: https://yourserver:81

Important  

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