Think about creating a set of global variables like:

cfset HTTP_URL = http://www.mydomain.com">
cfset IMAGE_URL = http://images.mydomin.com or
http://www.mydomain.com/images/>

in local code
a href = "#HTTP_URL#/store/cc/index.cfm

If you ever change then it's now problem, and  you could even set them to
"".

Do the same for your Virtual Directorys cfset VDIR = "/">

My2Cents,

Rick


----- Original Message -----
From: "Erik Voldengen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 09, 2000 9:35 AM
Subject: RE: relative url's


> I don't think there is, but you should also consider
> portability.  Using absolute URLs will come back to
> haunt you if you make significant changes, or just
> want to cut and paste modules into a new project.
>
> -Erik
>
> > -----Original Message-----
> > From: Brad Roberts [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 09, 2000 9:35 AM
> > To: Fusebox List
> > Subject: relative url's
> >
> >
> > Is there a performance hit using absolute server url's
> > (http://mydomain.com/sales/index.cfm/fuseaction/sales) rather than the
> > relative (sales/index.cfm/fuseaction/sales)?
> >
> > I'm thinking about using the full absolute path on all of my links.
> >
> > Just curious,
> >
> > Brad
> >
> > --------------------------------------------------------------
> > ----------------
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
> > s/fusebox or send a message to
> > [EMAIL PROTECTED] with 'unsubscribe' in the body.
> >
> --------------------------------------------------------------------------
----
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to