Bear with me, I'm new at this (but an experienced programmer).
In the code for a page named send.cfm there is this line:
It specifies where to go after inserting a record into a database (if this looks familiar, yes, it's from the tutorial that comes with DreamWeaver).
On my site, the files send.cfm and view.cfm reside in the same subdirectory on the site.
(To be exact, for my test server, they are in c:\CFusionMX7\wwwroot\MyTe
Now instead of going to the view.cfm page after inserting a record, I want to go to another page, named thankyou.html. That file is in the root folder for my site, specifically, it is in c:\CFusionMX7\wwwroot\MyTe
I cannot for the life of me figure out how to get it to find the file!
I have tried:
<cflocation url="thankyou.html"> (which I didn't think you work anyways, and it didn't)
<cflocation url="#thankyou.html"> (by now I am grasping at straws!)
If I open a browser window and type in this address:
I can get to it just fine.
I've tried finding the answer in the Getting Started manual for Dreamweaver and in the help but I'm coming up empty!
If I put the file in c:\CFusionMX7\wwwroot\MyTe
usion and use the statement <cflocation url="thankyou.html"> it all works fine, of course! But I don't want to put the file there!)
What the heck is the correct way to tell it to go back to the root to find this file?