I have some ASP pages and sometimes different pages have same name functions.
I don’t get why those functions react randomly (not executing, error saying is already defined,etc.) if I only <!-- #include --> the one page the user requested. It shouldn’t be giving me an error, I guess…
Can someone explain me this ?
I have some ASP pages and sometimes different pages have same name functions. I
Share
Sounds obvious but are you sure you only include the required function page once per page and that you haven’t included a page which itself includes the function page declaring the variable?
Also check that the variable in question isn’t declaired for some other purpose on the pages that are erroring.
(I only say this because it’s something I often fall foul of)