|
@danf:
whether you want or not you would still have global variables in your code. This is not something you can avoid(unless you use only static classes)
by simple declaring $x = new ClassName() you just got a global variable $x.
and yes, I'm in control of all app.
Edit:
resetting the session state is not a good idea, because when I won't be able to re-enable a user's session. I store values in session that I cannot just re-enable..
__________________
...to be continued
|