Singleton in Session variable?
View Single Post
10-07-2009, 10:41 AM
Join Date: Oct 2009
Nope, variable still gets reset on every request. The singleton gets reinstanciated every freakin' time on the roundtrip to the server.
Simply cannot see how the singleton design pattern is of ANY use in a 'web language' as PHP.
View Public Profile
Send a private message to svdelle
Find More Posts by svdelle