Hi Chris,
1) That is not javascript. It is Jscript.NET, an ASP.NET Microsoft
server-side language that is not unlike CF or VB that has a similar
construction to javascript.
2) You need to be sure that you have .NET installed on your webserver, and
that it will actually execute this file before trying to CFHTTP this code.
3) Post the code here for more help.
- Matt Small
-----Original Message-----
From: Montgomery Chris Contr AFSFC/SFPA
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 5:57 PM
To: CF-Talk
Subject: RE: Embedding ASP Code into CF Form Page
Isaac,
Actually, the entire file is just javascript, saved as an ASP file, so it
wouldn't be too hard to convert, I would think. The catch is that it needs
to run server-side since it's generating a security key. The first few lines
of the file are:
<script language="jscript" runat="server">
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as
defined
* in FIPS PUB 180-1
* Version 2.1-BETA Copyright Paul Johnston 2000 - 2002.
.........
I'll see how it goes with CFHTTP when I get home this evening. Thanks!
--
Chris Montgomery
-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 4:16 PM
To: CF-Talk
Subject: Re: Embedding ASP Code into CF Form Page
[snip]
Sounds to me like your only option unless there's a way to convert it
to CF, which there may be, although I'd be willing to bet you'd much
rather have a root canal and a lower-gi simultaneously.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200979
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54