Hey Guys: I posted earlier because I wanted to know how to turn this: http://www.whatever.com/index.cfm?id=1&action=foo to: http://www.whatever.com/index.cfm/id.1/action.foo.html so that search engines would pick up on it. Well, with some help I created a parser that did this, however there is one major MAJOR problem. I url encode a varaible named "ref" to each link that is used for tracking to see how users are getting to certain pages. So lets say that I make ref=URLEncodedFormat("/product/index.cfm?id=foo&action=reviews") and send it through a query string. No problem, if i just url decode ref, I get "/product/index.cfm?id=foo&action=reviews". But even if I url encode ref using my new format, it still parses all of ref seperately into different variables. Here is my parser code: <cfif IsDefined("CGI.PATH_INFO")> <cfset list_len = listlen(CGI.PATH_INFO,"/")> <cfset list_index = listcontainsnocase(CGI.PATH_INFO,"index#request.webextension#","/")> <cfset list_start = list_index + 1> <cfloop index="i" from="#list_start#" to="#list_len#"> <cfset valuepair = listgetat(CGI.PATH_INFO, i, "/")> <cfset varname = gettoken(valuepair, 1, ".")> <cfif not IsDefined('attributes.' & varname)> <cfset setvariable("CALLER.ATTRIBUTES.#varname#", "#gettoken(valuepair, 2, ".")#")> </cfif> </cfloop> </cfif> Any Ideas? Did I explain this correctly? Gracias, Greg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

