Skip to Content
0
Former Member
Mar 23, 2009 at 03:41 PM

Singleton class - does this work for a User Session or for whole client ??

1181 Views

Hello

As per my understanding the Singleton is supposed to have only one instance of class per user session.

However, I am in doubt that whether Singleton is instantiated only once for multiple user sessions. Can any one validate this idea and have a definite answer ?

If singleton is instantiated only once per client (meaning multiple user sessions) will that be one singleton class used for all sessions ?

I would greatly appreciate your help and comments..

Best regards

Vijay

Edited by: jakk on Mar 23, 2009 8:41 PM