Hi all,
Without using the <#Include> tag, is there a way to call a function in one asp page from another?
Using the Include is problematic for me because these functions may also be called 'standalone'--ie. if I use this asp page as a source for an iFrame. Yet I don't want to have to duplicate coding so I want to call some of these functions from other pages.
But when I have DIM statements in one page if it's <include>ed in another I get the "Name Redefined" error because I'm pretty standardized about variable naming so this would be expected. I'm just wondering if there's another way around it. Also I get error on the Option Explicit statement used twice.
Thanks for any help,
--Jim
Without using the <#Include> tag, is there a way to call a function in one asp page from another?
Using the Include is problematic for me because these functions may also be called 'standalone'--ie. if I use this asp page as a source for an iFrame. Yet I don't want to have to duplicate coding so I want to call some of these functions from other pages.
But when I have DIM statements in one page if it's <include>ed in another I get the "Name Redefined" error because I'm pretty standardized about variable naming so this would be expected. I'm just wondering if there's another way around it. Also I get error on the Option Explicit statement used twice.
Thanks for any help,
--Jim