Created
March 31, 2017 01:46
-
-
Save jameshirka/a6e55e99d0755b19dddf96de6c895c19 to your computer and use it in GitHub Desktop.
A quick way to drop your session in sitecore to write to xDB
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
<%@ 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) | |
{ | |
Session.Abandon(); | |
} | |
</script> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Abandon Session Page</title> | |
<link rel="shortcut icon" href="/sitecore/images/favicon.ico" /> | |
<style type="text/css"> | |
body | |
{ | |
font-family: normal 11pt "Times New Roman", Serif; | |
} | |
.Warning | |
{ | |
color: red; | |
} | |
</style> | |
</head> | |
<body> | |
<form runat="server" id="form"> | |
Session Abandoned | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment