,

cflocation - redirect in coldfusion

Thursday, March 30 Leave a Comment

cflocation url = "url" addtoken = "no"
sometimes, i need to relocate the page to another page without user interation. then i just use the above cflocation code.
eg:
cflocation url="http://msjbox.junaidix.com" addtoken="no"
those code will redirect current location to new location of as stated in url tag.

note: don't forget to enclose the code with "<" and ">" tag.

0 comments »