Skip to main content
Waters

How to enable HTTP-only, SameSite, and secure cookies for NuGenesis SampleShare - WKB203562

Article number: 203562

OBJECTIVE or GOAL

Enable HTTP-only and secure cookies for NuGenesis SampleShare web servers.

ENVIRONMENT

  • NuGenesis 9 LMS
  • NuGenesis 8 LMS
  • SampleShare is configured for HTTPS

PROCEDURE

  1. Start a remote session to the NuGenesis web server and browse to the installation path for SampleShare
    • Default: C:\inetpub\wwwroot\SampleShare
  2. Open the file web.config in Notepad
  3. Add the following line below the <system.web> tag:
    • <httpCookies sameSite="Strict" httpOnlyCookies="true" requireSSL="true" />
  4. Save and close the file
  5. Restart the Default Web Site in IIS

ADDITIONAL INFORMATION

Microsoft reference for SameSite cookies: Work with SameSite cookies in ASP.NET | Microsoft Docs

id203562, NGLMS, NGLMSLIC, NGLMSOPT, SUPNG

Not able to find a solution? Click here to request help.