You hav eto go up one directory,try: <cfif name ='David'> <cflocation url="../index.cfm> </cfif> --
Marius -----Original Message----- From: Pranathi Reddy [mailto:[email protected]] Sent: May 22, 2009 12:48 PM To: cf-talk Subject: redirect page Hi , I am trying to move back one directory and redirect the page to another page. eg: I am at page http:/localhost/Extradirectory/newfile.cfm and I want to redirect to the index.cfm at http:/localhost/newfile.cfm if condition satisfies. I am using cflocation to direct to another page but I am at path /inetpub/project1/Extradirectory/newfile.cfm and my .cfm file is in path /inetpub/project1/index.cfm <cfif name ='David'> <cflocation url="index.cfm> </cfif> -- it throws an error says file not found. Can any one have any suggestions fro me. Thanks in Advance, Pranathi. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

