clientuser
Programmer
is it looked down on to set a global variable in a module to be referenced throughout an application?
for instance, i have a username that i need to save somewhere while the user is logged in and it can then be deleted after the user logs out of the app.. what is the best method to hold variables and have them used throughout an entire application? any examples would be greatly appreciated
for instance, i have a username that i need to save somewhere while the user is logged in and it can then be deleted after the user logs out of the app.. what is the best method to hold variables and have them used throughout an entire application? any examples would be greatly appreciated