No, the Session object is a bit quirky with arrays. To put an array in there you have to define and populate your own array variable, then you do:
Session("myArrayKey") = myArrayVariable
Likewise if you want to change anything in an array which is stored in the Session you first have to pull the array out of the Session into your own array variable, then you change your array variable, then you write the whole array back into the Session overwriting the existing array.
hth
Phil
|