Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A quick way to drop your session in sitecore to write to xDB
<%@ Page Language="C#" AutoEventWireup="true" %>
<script runat="server">
// TODO: to enable the page, set enableUnlockButton = true;
private bool enableUnlockButton = true;
protected void Page_Load(object sender, EventArgs e)
<!DOCTYPE html>
<title>Abandon Session Page</title>
<link rel="shortcut icon" href="/sitecore/images/favicon.ico" />
<style type="text/css">
font-family: normal 11pt "Times New Roman", Serif;
color: red;
<form runat="server" id="form">
Session Abandoned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.