I'm trying to use a session variable together with a string literal as an argument to the Server.Execute function. When it is called I get a "Server.Execute failed while loading" error.
The code looks like this:
f = Session("site_root") & "/inc/incfile.asp"
Session("site_root") returns a path similar to "/localhost/website" so based on the example above f = "locahost/website/inc/incfile.asp".
I don't want to use an SSI because of differences between the testing and production environments.
In essence all I want to do is have a variable webroot which can be adjusted according to the server setup the site is being run on.