DazAttak
05-17-2001, 10:32 PM
Hi,
I am trying to use the loadVariables command from a projector file to query a database (using a Cold Fusion script). This works fine on localhost and over my "dial up" connection, but when you run it from a pc behind a firewall/proxy server the loadVar doesn't even get to the script. However, getURL works fine.
After a little investigation I found that the 'user-agent' param in the http header is set to 'shockwave flash' for the loadVar, yet to 'Mozilla' for getURL (from projector files only)
Does anyone know how I can change the user-agent (a hack maybe?) so that the loadVar also uses 'Mozilla'? I don't really want to use getURL as it calls up a (new) browser window each time it is used.
Thanks in advance,
DazAttak
I am trying to use the loadVariables command from a projector file to query a database (using a Cold Fusion script). This works fine on localhost and over my "dial up" connection, but when you run it from a pc behind a firewall/proxy server the loadVar doesn't even get to the script. However, getURL works fine.
After a little investigation I found that the 'user-agent' param in the http header is set to 'shockwave flash' for the loadVar, yet to 'Mozilla' for getURL (from projector files only)
Does anyone know how I can change the user-agent (a hack maybe?) so that the loadVar also uses 'Mozilla'? I don't really want to use getURL as it calls up a (new) browser window each time it is used.
Thanks in advance,
DazAttak