Hi All.
So the situation is that I have a Default.asp page that loads entire subpages, these pages requieres Functions from Asp pages that I load using Server Side Includes (Include Virtual)
Now the problem is that some pages reports the error "Name redefined" because I have Dimensioned strings from lets say a ConnectionStrin g Function and need this string in more than one situation in one suppage, like Open/CloseDB()
First I thought that including all Functions in the Default.asp would inherit those so that anyone suppage could use them. But I can't (I'm using IIS 6.0) So Ill have to include every Function needed in any suppage that needs them, thus the error.
I've tried including the Function in one Function that are allready loaded in the suppage, but then the String is not inherited into that page. Including it gives the error.
How can I get by this?
So the situation is that I have a Default.asp page that loads entire subpages, these pages requieres Functions from Asp pages that I load using Server Side Includes (Include Virtual)
Now the problem is that some pages reports the error "Name redefined" because I have Dimensioned strings from lets say a ConnectionStrin g Function and need this string in more than one situation in one suppage, like Open/CloseDB()
First I thought that including all Functions in the Default.asp would inherit those so that anyone suppage could use them. But I can't (I'm using IIS 6.0) So Ill have to include every Function needed in any suppage that needs them, thus the error.
I've tried including the Function in one Function that are allready loaded in the suppage, but then the String is not inherited into that page. Including it gives the error.
How can I get by this?
Comment