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
- Start a remote session to the NuGenesis web server and browse to the installation path for SampleShare
- Default: C:\inetpub\wwwroot\SampleShare
- Open the file web.config in Notepad
- Add the following line below the <system.web> tag:
- <httpCookies sameSite="Strict" httpOnlyCookies="true" requireSSL="true" />
- Save and close the file
- 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