In my old post CFLOCATION Does Not Work After CFFLUSH I mentioned the solution to move to another template by Peter Freitag using the CFHEADER tag.

Now I’m sharing another solution that I found online (forgot where!), more elegant and geeky. That works within scheduled tasks too.

{code type=coldfusion}<cfscript>

local.myURL = “http://myNextURL”;


One thought on “CFLOCATION Does Not Work After CFFLUSH Revisited

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.