[thelist] CF: CFSchedule redirection?

Morgan Kelsey morgan at morgankelsey.com
Mon Aug 25 09:32:52 CDT 2003


frank,

> If I do a redirect in a script using either cfheader or cflocation, will
it
> actually redirect? If I'm  right, both of the above tags are browser side
> not server side.. What say you?
>

why don't you try it and find out?
 ;o)


both of those tags send a header command to the browser.

cfscheduled pages act as if they were called from the browser, but redirects
are not allowed.

in CFMX, a task calling a page with cflocation in it will throw an error
when you try to execute it.
i imagine this behavior is the same in CF5 and earlier (things rarely become
less-functional)

if you change the cflocation to a meta-refresh, it won't throw the error,
but it won't follow the redirect either.


nagrom
http://morgankelsey.com





More information about the thelist mailing list