it depends on where you are getting the array from. what is stored in the array?
if the values are hard-coded in the script, it is very easy to do paging with it. if the values of the array are "random" or something like that, there is no way to do paging without storing the array. but if you can easily recreate the array (even based on a few parameters you are getting trough the query string), it shouldn't be a problem.
ow, I just tought of this : if the array can not easilly be recreated, you can always serialize it and put it in a hidden field on the html page. if you do the paging with form buttons, you can send the hidden field too, and then unserialize it. however, this is not a very efficient approach because you will send the entire array to the client every time, which kind of defeats the purpose of paging.
so if you can tell me where you are getting the values of the array from, I might be able to help you...