Configuring the Cookie Handling Setting - Web Parts for Microsoft SharePoint - English - Foundation 22.1 - OnBase - external

Web Parts for Microsoft SharePoint

Web Parts for Microsoft SharePoint
Foundation 22.1

If you are using an up-to-date web browser with the latest .NET patch installed, the SameSite cookie setting in the Web Server web.config file must be updated to enable cross-site cookie use between the OnBase Web Server and Microsoft SharePoint.

To configure the cookie handling setting:

  1. Locate the web.config file of the OnBase Web Server. In a default installation, this is located at C:\inetpub\wwwroot\AppNet.
  2. Open the web.config file in a plain-text editor, such as Notepad.

    The *.config file should only be edited in a plain-text editor, such as Notepad, or a utility specifically designed to edit XML files. It should not be edited in a binary editor, such as Microsoft Word. Using a binary editor can introduce invalid characters to the file and make it unreadable by the software.

  3. Locate the cookieSameSite attribute in the sessionState element. If this attribute is not in the web.config file, then you must add it under <system.web> within the sessionState element exactly as listed here:
        <sessionState cookieSameSite="value" />
  4. Enter None as the value. For example, the attribute would be entered as cookieSameSite="None"
  5. Save and close the web.config file.
  6. Recycle the application pool of the Web Server for these changes to take effect.