Skip to content

Instantly share code, notes, and snippets.

@mhwelander
Created August 24, 2016 16:21
Embed
What would you like to do?
Flush session data without ending session.
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