I'm not so experienced with the scope, sharing, of classes & variabeles on a webserver and have following questions
When I make a class in my webApp that is singleton design pattern wich holds lists I wish to cache Zipcodes, streets, etc... and a user started the webapp is this class then already initiated & ready for use for other users surfing from somwhere else ? I mean the first visitor initiate the class & others are using the instance ?
What happens with the instance of that class is first user logs off, if all users log off,...
The problem is I have a WepApp up and running now and would like to tune performance without the need to redesign the whole structure.
Thanks for helping out
View Complete Post