Forum Moderators: open

Message Too Old, No Replies

Server.Execute

How to write string

         

5stars

12:13 am on Nov 5, 2003 (gmt 0)

10+ Year Member



I am trying to track traffic across several sites.

How do I write the following for domains located outside the database.

<%Server.Execute("Traffic/track.asp")%>

I tried <%Server.Execute("http://www.mydomain.com/sub/Traffic/track.asp")%>

and that didn't work.

Thanks in advance for your help,

Julia

mattglet

4:29 am on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i've never tried it, but maybe someone knows if you can SSI it? i doubt you can, but i've never tried it.

if you control the sites, you could add a value to your querystring to collect on the other sites, then compare the data. just a thought.

-Matt

plumsauce

6:05 am on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




the target of the server.execute() method must
be accessible on the box.

therefore, if all of the sites are on the same
box, you can use a virtual directory to be
able to reach the file, as in

server.execute("/virtualdir/somescript.asp");

(jscript syntax)