southbeach
Programmer
What do you think would be best to use session variables or constant variables?
The idea is to load default application settings to variables so that themes are properly set/displayed based on these settings.
Both work but wonder which is better tuned for this kind of application. The variables will hold settings such as background color, font properties, script location or directory, image location or directory, language, etc.
I like the fact that defined constant variables are much shorter by not having to type $_SESSION to reference the variable ...
What say you?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
The idea is to load default application settings to variables so that themes are properly set/displayed based on these settings.
Both work but wonder which is better tuned for this kind of application. The variables will hold settings such as background color, font properties, script location or directory, image location or directory, language, etc.
I like the fact that defined constant variables are much shorter by not having to type $_SESSION to reference the variable ...
What say you?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.