> Trying to the fastest way to do the following. > > > comparing items that are stored in session ( as a list, or array ). > This is storing IDS or items.
If you've not settled on a storage mechanism you might consider a structure. You could then easily do your search using the structFind functions. Of course it depends on what else you'd need to do with the data (if the order is important you'll lose it with a struct) but it probably is the quickest way. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

