By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

Name redefined when using Include Virtual?

P: 80
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 ConnectionString 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?
Dec 20 '10 #1
Share this Question
Share on Google+
1 Reply


P: 80
Does anyone know?
Dec 23 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.