Patent ID: 7107575

Claim:
A method of providing a programmatic object that is guaranteed to have only one instance per session of a client and server, the method comprising the computer-implemented steps of: receiving computer program code that defines a class for instantiating a session singleton object, wherein the class includes, (I) a constructor, which is only accessible from inside the class, for instantiating the session singleton object; (II) an access method for accessing the session singleton object, wherein the access method has, (A) an input parameter, which is used to locate a session object associated with a client-server session, (B) logic for determining whether the session singleton object exists, (C) logic for creating the session singleton object, and associating the session singleton object with the session object only when the session singleton object does not exist, (D) logic for returning the session singleton object to a caller of the access method; and executing the code in a server that is communicatively coupled to a plurality of clients in a plurality of respective communication sessions, wherein the server has access to the information for all of the plurality of clients and executing the code results in instantiating one and only one instance of the session singleton object for each of the session objects and creating and storing in the instance one and only one set of information associated with a particular client.