> http://localhost/students/index.cfm/register?action=studentreg > > I did not understand the use of 'register' after index.cfm. Can anyone please > help me understand > what it could mean? There is a index.cfm file in students folder. Could > register be a folder name?
While normally you can guess that you have, for example, a file named index.cfm, you shouldn't therefore assume that all URLs happen to map to a specific file in a known location on the filesystem and that there is a clear mapping of what you see in the URL with specific filename and query parameters. URLs can really be quite a bit different than that. In this case, index.cfm could be a file or a directory, or neither. "register" could be a file name, a value mapped to a URL parameter within index.cfm, or something else entirely. My guess - and it can be no more than a guess - is that there's a file called index.cfm in a directory called students, and that this file is looking at the raw query string and grabbing the first value to get the literal string "register", and that there's a URL parameter available within the page called "action" with a value of "studentreg". Why someone would bother doing that, I can't really say. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343638 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

