NetTalk Central

Author Topic: Instaniate a class with the session  (Read 2425 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Instaniate a class with the session
« 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.   

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11242
    • View Profile
Re: Instaniate a class with the session
« Reply #1 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

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Instaniate a class with the session
« Reply #2 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.