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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual Directory and Application.cfm

Status
Not open for further replies.

neofactor

Technical User
Jul 30, 2000
194
US
I have folder of .cfm files that I use for multiple websites... so for each client I set up a virtul directory in IIS so each of them would have the same relative path to my code... this way I could update one location and all clients would get the correct pages...


The problem is this.... Each client site has info in their application.cfm file that tells my common tool where to put things.

They are defined as request.dataname

The problem when a user is navigating a client site.. and goes to the tool (virtual dir to my location) they see the URL is still the clients name.. but their application file is not considerd apart of that dir... it looks at the one I have in my domain.

Does any of this make sence...

Bottom line... virtual directories do no inherit the application.cfm of the site using it.

Is that the case or can I get creative?

Please help/
 
You are correct. Application.cfm does not work up the dir tree, only down. However, could you not pass the variables in the application.cfm file to your "tool" in the form of hidden form variables?

Chris Scott
The Whole Computer Medical Systems
 
looks like I will have to
It will take some serious re-write thouhg.

The simpler way is to just duplicate the apps on each site.. or send a single id to look up.

I might even play with Session variables... but that might fail with different app names listed for the session setting

thanks for the nod.. I now know to move on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top