Quantcast
Channel: The Creative Juices Bo. Co. (CJBoCo) RSS 2.0 Feed
Viewing all articles
Browse latest Browse all 130

ColdFusion And Dynamic SES (Search Engine Safe) URL's (Blog Entry)

$
0
0

My First Attempt at Tackling SES

Okay, I have to admit, I'm not sure if people are going to find this as interesting as me, but I'm kind of weird. I love to create dynamic websites, but I've always hated the ugly url's they tend to create. You know what I mean. Let's say you have a product page. In the old days, you could do something as simple as this:

products.cfm?pid=2369

... and your ColdFusion code for the products.cfm would look something like this:

<cfparam name="url.pid" default="0"><cfquery name="GetProduct" datasource="mydns">   SELECT  Category, SubCategory, ProductName, PID   FROM Products   WHERE PID = #url.pid#</cfquery>

Viewing all articles
Browse latest Browse all 130

Trending Articles