7 Replies Latest reply on Jun 26, 2007 9:32 AM by Robert_Houben

    How to instantiate a persistent Singleton

      I have a data access component for accessing non-relational data stores, and in order to make it useful, I need to enable pooling. What would work best would be if I could instantiate a singleton class when starting coldfusion, but I have no idea how to do that. Is there a way to instantiate a class that persists through the life of the server, or even through the life of a session? The latter would be more of a work-around but I could probably live with it.

      Any help would be appreciated.