made application object transient to be truly able to serialize session

and added setApp() method
This commit is contained in:
stefanp 2003-02-16 22:39:25 +00:00
parent b77e5da24b
commit 077f1dc516

View file

@ -17,7 +17,7 @@ import helma.objectmodel.db.*;
public class Session implements Serializable { public class Session implements Serializable {
Application app; transient Application app;
String sessionID; String sessionID;
// the unique id (login name) for the user, if logged in // the unique id (login name) for the user, if logged in
@ -98,6 +98,10 @@ public class Session implements Serializable {
return app; return app;
} }
public void setApp (Application app) {
this.app = app;
}
public String getSessionID () { public String getSessionID () {
return sessionID; return sessionID;
} }