Hi everybody,
System:
Coldfusion 5.0 (Linux)
Apache
I'm writing a CFX tag to securly retrieve passwords for our users. In order to confirm their identity i need the CFX to workout what directory the calling template is in (i have a UNIX library that uses the getUID() call) - but WITHOUT the user entering the template.
The only option i have come up with so far is using a CFML tag that uses getCurrentTemplatePath() (or whatever its called :) and then it calls the CFX. The down side of this is that you can decompile CFML tags very easily.
Points will go to the first viable solution other than the one above.
GR.
You can pass the above as a parameter to the CFX from the calling page.
Or just set it as a variable in your application.cfm and you are done!
Jimmy