From 02b00926ff716f2493582344ebf8d8de278050b7 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 4 Apr 2008 10:59:26 +0000 Subject: [PATCH] * Define cache node as INode rather than fixed TransientNode. The idea is to eventually be able to use persistent HopObjects as session stores. --- src/helma/framework/core/Session.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helma/framework/core/Session.java b/src/helma/framework/core/Session.java index d6da2023..8addc5a9 100644 --- a/src/helma/framework/core/Session.java +++ b/src/helma/framework/core/Session.java @@ -43,7 +43,7 @@ public class Session implements Serializable { // the transient cache node that is exposed to javascript // this stays the same across logins and logouts. - protected TransientNode cacheNode; + protected INode cacheNode; protected long onSince; protected long lastTouched; protected long lastModified; @@ -161,7 +161,7 @@ public class Session implements Serializable { /** * Set the cache node for this session. */ - public void setCacheNode(TransientNode node) { + public void setCacheNode(INode node) { this.cacheNode = node; }