OK, here's the deal.
I use a javascript to generate a key and and ID for use with
an external xml feed. To consume the xml, I use CFHTTP call from
within a CF template. But since the only way (or at least so I
think) to pass a javascript variable to CF is via a javascript
document.location.href redirect (and passing the variables via URL
variables), I have the javascript in the first page redirect and
send the variables to the coldfusion template that then digests the
xml and does a database insert.
Of course it works great in a browser, but when I attempt to
use a scheduled task to run it, the cfadmin says that it runs
successfully, but there's no db insert.
I'm figuring that it's because there's no real "document"
window to redirect... so how can I solve my problem?
HELP!!!
Thanks in advance,
bill