Home

Geeklog: What I Learnt Today / Adam

If you want to use location() in a cfscript tag in coldfusion

> You have to use location() inside cfscript tags use it like this
location(url="page_to_relocate_to", addtoken="true|false", statuscode="404")
rather than how it describes in cf documentation
location(url="page_to_relocate_to", "true|false", "404")
because that doesn't work. I couldn't comment on the cf docs because their form doesn't work for me

/ Adam