NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on October 02, 2013, 09:42:59 AM

Title: Instaniate a class with the session
Post by: CaseyR on October 02, 2013, 09:42:59 AM
Hi,

Is there a way to instantiate a class object for a session?  It can be done globally, but that exposes one user's class properties to other users.  Or for each procedure that uses the class,  but that adds both work and complexity.  Hoping to do it just once for a session.

Thanks.   
Title: Re: Instaniate a class with the session
Post by: Bruce on October 03, 2013, 02:12:28 AM
Hi Casey,

I'm not 100% sure what you mean exactly - but I think instantiating a global, unthreaded class and then "binding" it to a session will be tricky.

cheers
Bruce
Title: Re: Instaniate a class with the session
Post by: CaseyR on October 03, 2013, 12:05:55 PM
Yeah,  I thought it would be but wasn't sure.  I will instantiate with each procedure that uses it then.