Created
August 24, 2016 16:21
-
-
Save mhwelander/f7c7d1f3dc71e565a38a61e968f9b334 to your computer and use it in GitHub Desktop.
Flush session data without ending session.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ContactManager contactManager = Sitecore.Configuration.Factory.CreateObject("tracking/contactManager", true) as ContactManager; | |
contactManager.FlushContactToXdb(contact); | |
contactManager.SaveAndReleaseContactToXdb(contact); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment