I have the following example page structure:
If I call Server.Execute(\"Script.aspx\") from Webpa
Server.Execute(\"Script.aspx\")
At least you can tell if the request is local through Request.IsLocal .