Pete Freitag Pete Freitag

GetTempDirectory() returns a different path in MX

Published on June 19, 2003
By Pete Freitag
coldfusion

I noticed today that GetTempDirectory() returns a different path than it did in CF5 and prior versions. In CFMX it returns cfusionmx/runtime/servers/default/SERVER-INF/temp/wwwroot-tmp.

I'm not quite sure why this is, because the java System property java.io.tmpdir = C:\WINNT\TEMP\ on my machine. I would have thought they would use that value as CF5 does.

Anyways I thought it should be pointed out since it is not in the release notes. I'm not going to report it as a bug, because I don't think it makes much difference what directory GetTempDirectory() returns as long as its a temp dir.


GetTempDirectory() returns a different path in MX was first published on June 19, 2003.

FuseGuard Web App Firewall for ColdFusion

The FuseGuard Web Application Firewall for ColdFusion & CFML is a high performance, customizable engine that blocks various attacks against your ColdFusion applications.

CFBreak
The weekly newsletter for the CFML Community