Alternatives to global variables

1

What would be the best practices for avoiding the use of global variables? How to save the logged-in user or a file name that will be accessed in several places for example?

    
asked by anonymous 20.09.2016 / 15:58

0 answers