Session arrays

Results 1 to 2 of 2

Thread: Session arrays

  1. #1
    Join Date
    Dec 1969

    Default Session arrays

    Can anyone tell me wheatehr all of the following ways to declare session arrays are valid. <BR><BR>1) session("Arr(i)") = some value<BR>2) Arr(session("i")) = some value<BR>3) session("Arr("session("i"))) = some value<BR><BR>When I use the 3rd methos ASP reports error. Is there any other method to store a value to session array having a session level index.<BR><BR><BR><BR><BR>

  2. #2
    lk Guest

    Default RE: Session arrays

    I think it&#039s not possible to do arrays on session variables (but i&#039m not sure).<BR><BR>Once i had to do this, but i was using few values with fixed size... so, i used a single string with all the values and made a function (using mid) to get the values from the string..<BR>it worked fine, although not very.. err, pro.. =]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts