Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect to url

Status
Not open for further replies.

JamesManke

Programmer
Jul 1, 2004
54
CA
I was windering how to redirect to a url in the middle of a script. I have tried this but had no luck,

<CFIF variables.pass EQ "Yes">
<CFINCLUDE TEMPLATE="</CFIF>

I need to be able to redirect in the middle without using javascript, or header tags.

Thanks for your help,

James
 
<CFIF variables.pass EQ "Yes">
<cflocation url="</CFIF>

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
Use the cflocation tag
Code:
<cflocation url="">


Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
DOH!! We did it again!



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
hehe. good job :)

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top