From 077f1dc51672428f2c47b1f061dd27ce9d9404b2 Mon Sep 17 00:00:00 2001 From: stefanp Date: Sun, 16 Feb 2003 22:39:25 +0000 Subject: [PATCH] made application object transient to be truly able to serialize session and added setApp() method --- src/helma/framework/core/Session.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/Session.java b/src/helma/framework/core/Session.java index 5a4e342d..d9a8acde 100644 --- a/src/helma/framework/core/Session.java +++ b/src/helma/framework/core/Session.java @@ -17,7 +17,7 @@ import helma.objectmodel.db.*; public class Session implements Serializable { - Application app; + transient Application app; String sessionID; // the unique id (login name) for the user, if logged in @@ -98,6 +98,10 @@ public class Session implements Serializable { return app; } + public void setApp (Application app) { + this.app = app; + } + public String getSessionID () { return sessionID; }