Skip to content

Instantly share code, notes, and snippets.

@steliodibello
Created November 23, 2023 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steliodibello/f4edac8af1bda181fc92c73f56b8a473 to your computer and use it in GitHub Desktop.
Save steliodibello/f4edac8af1bda181fc92c73f56b8a473 to your computer and use it in GitHub Desktop.
if (HttpContext.Current?.Request?.Headers.AllKeys == null)
{
return null;
}
var customCookie = HttpContext.Current?.Request?.Headers["XXX"];
var result = ContactIdentificationManager.IdentifyAs(new KnownContactIdentifier("Salesforce.ContactId", customCookie));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment