Passing 1000 ids as an array would be even worse, you get 4 chars (id[]) for one id instead of just one (the separator). Anyway, if you’re thinking of passing so many ids maybe you could build some criteria condition instead?
For selecting multiple rows in a grid I use two modes: select some or select all with exceptions.
You are right, so I went another way. I’m gonna creat a search model, that has fields for filtering data, creating IN conditions to my CDbCriteria. And then I’m gonna return the correct models.
So the AJAX request will only contain the search model attributes, and not an array of correct ID’s.