I have a large site that and i use a application variable that has the root defined in it so I can use code like #application.root#/images/mypic.jpg. What I want is to make the root variable dynamic so the site can be placed under any folder structure and still work. I dont think I can use application variable bc it will reset every time.
This is what I am thinking:
<cflock ....>
<cfparam name="session.root" default="However you get root">
</cflock>
I dont think I can use expandpath because it contains the drive letter.
thanks for any help
Wes
This is what I am thinking:
<cflock ....>
<cfparam name="session.root" default="However you get root">
</cflock>
I dont think I can use expandpath because it contains the drive letter.
thanks for any help
Wes