Posted on: 11/23/2013 10:18:32 AM | Views : 361

Hi,
I started reading about reusability of classes (from class folder) for other pages but cannot find out if I can also set up a class for defining variables. I've been searching for about 2 days on the net to no avail.
The problem is that I use the same variables on many sites and have to dim them on every single page. It's time consuming and blows up script as there are about 100 lines for variables per page.
The idea is to set up a class usable for all pages where I can define a function/sub? that I call on every page and variables are preset. Same for smtp server for mail sending, connection strings for db access... I already tried to set up a sub with the variables but it did not work (class imported on the page in question and sub also recognized by the system)
any hint?
Thanks in advance.
Pascal

Go to the complete details ...