Reputation: 275
I have the following URL
file.cfm#widget=details?id_code=123
I'm trying to display or use the id_code var...
<cfoutput>#url.id_code#</cfoutput>
But it gives me the error Element COURSE_CODE is undefined in URL.
Any help would be great.
Thanks
Upvotes: 2
Views: 959
Reputation: 168
This is called a Fragment URL. Unfortunately, this (and everything behind it) isn't passed in your HTTP request, and isn't readable by your server side ColdFusion code.
Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?
Upvotes: 1