Archive for December, 2007

cfmaddness

I have a page I am deep linking into named anchors.

I want to know what anchor is being linked to.

The URL looks like http://host.name.com/appname/categories.cfm#category_19?q=6

#cgi.host# will give me the host name (”host.name.com”). #cgi.SCRIPT_NAME# will give me the script name (”appname/categories.cfm”). #CGI.QUERY_STRING# will give me the query string (”q=6″).

But how the hell do I get the big in the middle? (”category_19″).

Grr. Not happy Jan :(

PS: Javascript gives me exactly what I want (location.href).
I was hoping to avoid a client side solution, but were using enough dhtml that if JS isn’t enabled, the location will be the smallest of my problems ;)

Comments (3)

In the news…

The first story that caught my eye today was about the Boeing ‘Laser Gunship’. What a strange new (or is it new?) world we find ourselves in.

Comments