ksutphin
Programmer
- Jan 27, 2005
- 11
I had the following code running on an old ColdFusion 4.0 server. The code calls a batch file that goes out to our domain, loops through all of our terminal servers, and resets certain application sessions for the user that is running the cfm page.
<script language="JavaScript">
document.location.href = "Call_ResetGPTerm_Sessions.bat"
</script>
The server crashed on us the other day and I had to move it over to a MX7 server. Now it will not run. I've tried using <cfexecute> but still nothing. With <cfexecute> I don't get any error messages, but nothing happens. I couldn't use <cfexecute> before, which is why I was using JavaScript. Execute would be better, because the batch file simply calls another 'exe' file that actually does all the work.
My feeling is that the MX7 server is configured correctly to run executables or even bat files. I have change the log in for the Application service to from the local system account to a userid that would definetly have permissions to all the executables, so I'm not sure what else to try.
Kenneth
<script language="JavaScript">
document.location.href = "Call_ResetGPTerm_Sessions.bat"
</script>
The server crashed on us the other day and I had to move it over to a MX7 server. Now it will not run. I've tried using <cfexecute> but still nothing. With <cfexecute> I don't get any error messages, but nothing happens. I couldn't use <cfexecute> before, which is why I was using JavaScript. Execute would be better, because the batch file simply calls another 'exe' file that actually does all the work.
My feeling is that the MX7 server is configured correctly to run executables or even bat files. I have change the log in for the Application service to from the local system account to a userid that would definetly have permissions to all the executables, so I'm not sure what else to try.
Kenneth