ColdFusion - simple question (?)
Well, it should be simple, but I'm not having any luck so far...
Is there a function or way to get the complete URL of the current CF page? I'm imagining a function something like GetCurrentURL() which returns a string like such:
"http://www.domain.com/subdir/file.cfm?param1=x¶m2=y"
(I'm needing this in some header and template files which could be called from any number of pages, which is why my page doesn't know its own URL.)
Thanks!
Kristen
http://www.RewardsLookup.com and
http://www.cancerdrugfeedback.net still under early development
Personal page:http://www.isd.net/kwong/kristen.html
Mark Hensler posted this at 07:36 — 20th December 2000.
He has: 4,048 posts
Joined: Aug 2000
well, I don't know ColdFusion
but I'm assuming you have a way to get Environmental variables (because you can in every other language I know).
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.