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?
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?