Ok, I am trying to get my website to display a unique web
adderss for each username in my SQL database. For example:
username "testusername" would pop up a website entitled
I anticipate having thousands of unique usernames, and
instead of creating a new, identical web page for each person, it
seems like there must be a way to display one page dynamically
without actually typing in a query string for only one variable.
I will be setting a session variable based on the unique
username entered in the URL, so I guess there are two things I need
1. how can I get a URL that doesn't technically exist to not
throw a 404, but instead display the same index page dynamically?
2. (and this may be answered in answering #1) how can I pull
the username entered in the URL for use in querystings for setting
I hope I made some sense... any help would be WONDERFUL!
Then cfquery the username. If found, cfinclude the relevant
index page (if you want the url to stay the same), or cflocation to
the actually page assigning the username as a url variable. If the
username is not found, just goto home page.
Remember to disallow any special characters or top level
directory names in your usernames.