Yup, I understood and I get it.  See, the end-result here is that the anchor
is actually being used for PDF Highlighting.  However, in order for the PDF
Highlighting to actually work I have to disable the following tags:
<CFHEADER NAME="content-disposition" VALUE="#theAction#;
filename=#finalName#">
<CFHTMLHEAD text="<title>Download #finalName#</title>" />

I was hoping I could write a conditional based on the query string, but I
guess now I'm going to have to look for something else if there's no way to
get the full URL out of CFMX.

-----Original Message-----
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 21, 2006 11:11 AM
To: CF-Talk
Subject: Re: URL issue

Everything after the # sign is just a link to an anchor. It's not really 
part of the query string in the eyes of the web server. It's sending the 
url parameter or &u=yes and then, if it existed, it would be trying to 
go down the page to the <a 
name="everythingAfterThePoundSignInTheURL">anchor</a>. Since that anchor 
doesn't exist anywhere, nothing happens.

--Ferg

Todd Rafferty wrote:
> Hello All, been awhile since I've posted.
>
> I have a very stupid question and I'd like to know why the CFMX server
isn't
> showing me the full CGI.QUERY_STRING variable.
>
> The URL is:
> http://intranet/test.cfm?
>
<http://intranet/test.cfm?&u=yes#xml=http://somesite.com:8223/inquiragw/ui.j
>
sp?ui_mode=answer&prior_transaction_id=0&iq_action=6&answer_id=16777218&high
>
light_info=4199817,0,3&turl=http%3A%2F%2Fwww.somewebsite.com%2Fresources%2Fd
> %2Fdocument.cfm%3FMode%3Ddownload%26f%3D102477A0-C0BA->
>
&u=yes#xml=http://somesite.com:8223/inquiragw/ui.jsp?ui_mode=answer&prior_tr
>
ansaction_id=0&iq_action=6&answer_id=16777218&highlight_info=4199817,0,3&tur
>
l=http%3A%2F%2Fwww.somewebsite.com%2Fresources%2Fd%2Fdocument.cfm%3FMode%3Dd
> ownload%26f%3D102477A0-C0BA- 
>
> Yes, all of that.
>
> Anyway, when I dump <cfdump var="#url"#"> All CFMX wants to show me is
> "u=yes" which is understandable.  However, when I look at the debugging
> specifically at the CGI scope, I see: QUERY_STRING=&u=yes
>
> Why isn't the CFMX server showing anything from # on?  It's an HTML
anchor.
> Even if you <cfdump var="#cgi#"> you can't get access to that full URL
> string.  Am I missing something here?  Maybe I'm not thinking straight
being
> hopped up on cold medicine at the moment.
>
>  
>
> Thanks,
>
> ~Todd
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238374
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to