For passing large numbers of ID's, you might want to consider passing them as XML with some short tags so that you can pass more than 8K worth of ID's. Then just split the XML which can be quite quick when you don't need to first convert a CSV to XML.
--Jeff Moden
Change is inevitable... Change for the better is not.