diff --git a/mParticleCore.brs b/mParticleCore.brs
index b498e77..c9d0a1d 100644
--- a/mParticleCore.brs
+++ b/mParticleCore.brs
@@ -34,7 +34,8 @@ function mParticleConstants() as object
SCENEGRAPH_NODES = {
API_CALL_NODE: "mParticleApiCall",
CURRENT_USER_NODE: "mParticleCurrentUser",
- IDENTITY_RESULT_NODE: "mParticleIdentityResult"
+ IDENTITY_RESULT_NODE: "mParticleIdentityResult",
+ CURRENT_SESSION_NODE: "mParticleCurrentSession"
}
USER_ATTRIBUTES = {
FIRSTNAME: "$FirstName",
diff --git a/mParticleTask.brs b/mParticleTask.brs
index 1be03b1..11718a8 100644
--- a/mParticleTask.brs
+++ b/mParticleTask.brs
@@ -16,6 +16,7 @@ sub setupRunLoop()
mParticleStart(options, m.port)
m.mparticle = mparticle()
m.top[mParticleConstants().SCENEGRAPH_NODES.CURRENT_USER_NODE] = m.mparticle.identity.getCurrentUser()
+ m.top[mParticleConstants().SCENEGRAPH_NODES.CURRENT_SESSION_NODE] = m.mparticle._internal.sessionManager.getCurrentSession()
while true
msg = wait(15 * 1000, m.port)
if (msg = invalid) then
diff --git a/mParticleTask.xml b/mParticleTask.xml
index ccdeeed..dd11ab3 100644
--- a/mParticleTask.xml
+++ b/mParticleTask.xml
@@ -4,6 +4,7 @@
+