dale4brumbaugh
asked on
include file variables
is there a way to use a variable in an include file statement
example: url = ...default.aspx?location=a dmin.aspx"
<!--#include file="inc_header.aspx"-->( menu included here)
the next include controls content. Page is always default.aspx
<!--#include file="VARIABLE GOES HERE"-->
<!--#include file="inc_footer.aspx"-->
example: url = ...default.aspx?location=a
<!--#include file="inc_header.aspx"-->(
the next include controls content. Page is always default.aspx
<!--#include file="VARIABLE GOES HERE"-->
<!--#include file="inc_footer.aspx"-->
ASKER
could you show an example of this
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
But other way to do this is use Server.Execute
Server.Execute the file name you want and Respose.Write the output.
Hope this helps,
Thanks