Did this ever work:
I thought that include files were included / combined first, before the combined page was parsed. So, when the file should be included, incfile doesn't have a value yet....
Anyway, are you familiar with User Controls in .NET? They more or less take the place of ASP includes, but offer a lot more. Additionally, when you included ASP files with mainly code, you could use the App_Code folder for shared methods.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.