Singleton pattern question

From: Hardik Doshi (php_hardik_at_yahoo.com)
Date: 12/31/03


Date: Wed, 31 Dec 2003 11:16:28 -0800 (PST)
To: php-general@lists.php.net

Hi Group,

Currently i am using the singleton design pattern in
one of my projects. I was under impression that by
using the singleton pattern i need to initialize
system configuration only one time (At the time of
login) but once i implemented the system, i came to
know that system initializes an instance on every
request of the webpage (On every request, singleton
class reads the system configuration and returns the
new instance).

Is that the normal nature of using the singleton
pattern in the web environment?

Please let me know.

Thanks
Har***

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


Quantcast