Array Problem

1. Senior Member
Join Date
Dec 1969
Posts
660

## Array Problem

I have a problem understanding the arrays. I&#039;ve gone through the faq&#039;s...but they&#039;re written for people who already understand arrays. I was told I needed to put a cart into an session array. I understood that. What I DON&#039;T understand is how to break down the session back into an array...and how to view the contents. It&#039;s not going into a recordset,..all I want it to do is open the session...and count through the array to give me a number of items....then put the array back into a session.

2. Senior Member
Join Date
Dec 1969
Posts
11,334

## RE: Array Problem

Dim k<BR>k = Session("thatArray")<BR>Response.Write UBOund(k)<BR><BR>No need to put it "back" into the session.

3. Senior Member
Join Date
Dec 1969
Posts
11,334

## RE: Array Problem

Dim k<BR>k = Session("thatArray")<BR>Response.Write UBOund(k)<BR><BR>No need to put it "back" into the session.

4. Senior Member
Join Date
Dec 1969
Posts
135

## RE: Array Problem

I usually do this to get the number of items in the array...<BR><BR>dim ArrayName<BR><BR>objRS.GetRows<BR>iColumnCount = UBOUND(ArrayName, 1)<BR>iRowCount = UBOUND(ArrayName, 2)<BR><BR>the varaible iRowCount is the number of items in the array.. iColumnCount is the tables going across...<BR><BR>Hopefulyl this is what you&#039;re looking for..

5. Senior Member
Join Date
Dec 1969
Posts
2,930

## what's with all the double posts today?!?!

hehehe, impatient bastards.

6. Senior Member
Join Date
Dec 1969
Posts
16,931

## Site's REALLY slow...

...it took like 5 minutes for my last post to submit...<BR><BR>Craig.

7. Senior Member
Join Date
Dec 1969
Posts
2,930

## not for me

it&#039;s actually really fast. suckers ;-)

8. Senior Member
Join Date
Dec 1969
Posts
16,931

## It's just got faster.

But there were about 10 minutes where it CRAWLED.<BR><BR>Now it&#039;s lightning again... Strange :) Someones pipe just got unclogged :)<BR><BR>Craig.

9. Senior Member
Join Date
Dec 1969
Posts
11,334

## Yeah, for me too <nm>

boo

10. Senior Member
Join Date
Dec 1969
Posts
16,931

## LOL!

Call me thick, but I just get it...<BR><BR>After about two years of reading your posts, I just realised...<BR><BR>Whenever you &#060;nm&#062; or &#060;eop&#062;, you write "boo". I just thought it was funny to read, but now... "Boo"... "Ghost"...<BR><BR>Gees, I must be tired to be writing this crap... :)<BR><BR>Craig.

#### Posting Permissions

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