function SES()
{
var SESUrlVars=RemoveChars(CGI.path_Info, 1, 1);
var SESloopcount=ListLen(SESurlvars, '&');
// If these are the same, then nothing important is on the url
if (script_name EQ path_info)
return 1;
for(i=1;i LTE SESloopcount; i=i+1)
"Url.#listfirst(listgetat(SESUrlVars, i, '&'),
'=')#"=listlast(listgetat(SESUrlVars, i, '&'), '=');
return 1;
}
This may not work in IIS, but the concept is there. Take an url where the
question mark is replaces with a slash and work from there. For example, the url
below would normally have the question mark between the .cfm and method.
http://www.houseoffusion.com/cf_lists/index.cfm/method=threads&forumid=4&displaydate=09/30/2003
Note that some go hog wild with this concept and place slashes everywhere. Not
needed. Just one will do it for you.
> Hi,
> I am also looking for something but. I want to know that for
> eg:
> if my URL is:
>
> http://www.abc.com/info.cfm?ArticleID=3043
>
> can I rewrite the URL as
>
> http://www.abc.com/info/ArticleID/3043
>
> If you notice that I replaced info.cfm by info , means I want to remove the
> file extension.
> Let me know if this is possible, I know in Apache there is something like
> this.
>
> Thanks,
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

