----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: SitaramanM Message 8 in Discussion Hi Gags : - "Singleton pattern makes sure that you have only one instant running at any poitn of time (Not the same instance at all time)". (Not the same instance at all time).- Thts a good observation Gags. Session object is the same object that will be available to the user througout the session(unless you take session object recycling into consideration) Rosh : "your code is as good as mine, with plumbing removed. I cannot think of anything right away thats wrong with it." - oops!!!! Never meant that your code was wrong(fat chance!!!! :) ) But i think this is really an interesting query. First-cut, im not able to get hold of related materialon the net, will search more and get back if i find something useful... regards, sr p.s. Gags : As to your observation "you have only one instant running at any poitn of time" - Dont agree with you on this however. The patterns never says that there will be only one instance. Wat the pattern basically says is that you can control the instantiation process and thereby typically restrict to one instance. But the pattern allows you to (and is really applicable in some circumstances) to have more number of instances(in a controlled manner). Anyways i think this is not relevant to Rosh's Question. So if you have a different view other than mine on this description of SIngleton in this context, suggest we start a new thread on this and thrash it out with the group!!!!!! ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
