Hi, there.  In trying to solve a problem this weekend, it occurred to me
that I could easily handle my situation by passing a particular URL variable
with every link on my site.  Unfortunately, that would mean going through
and appending that URL variable to every link on my site, so I ended up
going with a different solution.
 
But then it occurred to me that I might be onto an idea for a future
project.  Why not set up my site so that every link on the site has the
local variable AppendToQueryString added to it.  So, every link would look
like this:
 
<a href="
http://www.mysite.com/subdir/file.cfm#Variables.AppendToQueryString
<http://www.mysite.com/subdir/file.cfm#Variables.AppendToQueryString> #">
 
In the Application.cfm, I set Variables.AppendToQueryString equal to ?noQS.
 
That way, any time that I want to solve a problem by adding a particular
query string variable, I can just add it on to Variables.AppendToQueryString
in the appropriate page.  I can also add things across the site by changing
the default value in Application.cfm.
 
This is all hypothetical: for now, I have no need for it.  But I was
wondering whether taking this infrastructure step is problematic for some
reason, or if there is some established better way of doing it.
 
Any thoughts?
 
Thanks,
Matthieu
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Reply via email to