M
mark4asp
What are the best methods for using global constants and variables?
I've noticed that many people put all global constants in a file and
include that file on every page. This is the best way of doing it - is
it not? Once the application has loaded the page it is cached and is
immediately available for other pages.
With global variables - the best thing to do would be to use
application variables - so long as there weren't too many declared.
Is there another (easy) way of using global variables apart from using
application variables?
I've noticed that many people put all global constants in a file and
include that file on every page. This is the best way of doing it - is
it not? Once the application has loaded the page it is cached and is
immediately available for other pages.
With global variables - the best thing to do would be to use
application variables - so long as there weren't too many declared.
Is there another (easy) way of using global variables apart from using
application variables?