You could do something like the following.

<cfscript>
        requestMap = CreateObject("java", "java.util.HashMap");
        for(key in url)
                requestMap.put("URL|" & key, url[key]);
        uid = requestMap.hashCode();
</cfscript>

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
888-408-0900 x901

> -----Original Message-----
> From: Ian Lurie [mailto:ian@;portentinteractive.com]
> Sent: Tuesday, October 29, 2002 1:27 PM
> To: CF-Talk
> Subject: Shorter urls?
> 
> Hi all,
> 
> I've searched the devcenter, google, etc. but can't seem to find any
> discussion of how to generate shorter URL strings. I want to take:
> 
> http://www.site.com?action=blah&brand=1&name=blahblah&;....
> 
> And convert it to
> 
> http://www.site.com/asdfwer234123
> 
> I've seen it done but just can't remember where. Can someone send me a
> url?
> 
> Thanks in advance,
> 
> Ian
> --
> Portent Interactive
> Effective web sites through Conversation Marketing �
> http://www.portentinteractive.com
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to