Date:  06/11/2002 08:58:24 AM Msg ID:  000694
From:  Justin Thread:  000694
Subject:  Session Object
Is there a way to make the Session Object a container for User Defined objects. 
 
something like this.
 
omynewobject = createobject('thisobject')
omynewobject.TheSettings ='hello World'
session.setvar('myobject', omynewobject)

then in other web pages go get the object i created ealier without having to recreate the object.

 

omynewobject = session.getvar('myobject')
 
Response.Write(omynewobejct.thesettings)
 

 

this would make my life allot easier when building my applications in the sense that the classes i create would control all the settings and keep track of every thing and speed things up sense i don't have to recreate the object all the time and reconnect to Remote Database servers.

 

I also understand this would be a memory burden on the foxweb server trying to keep track of the objects in memory.  but i would like it to be able to do this