No, not at all....
The one is taken out now on the demo site.  I put that in there for testing
alone.  The problem is that once it is added from array 1 to array 2 (and
yes, the length grows by one) then no matter what link you hit next, the
exact info is duplicated and the array grows one more.  So, for every one
record I add, I see the growth by one, on the next click, I get two.  You
can see it for yourself on the site.

Thank You,
Christian Watt
Webmaster
SkillPath Seminars
[EMAIL PROTECTED] 

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 28, 2003 3:07 PM
To: CF-Talk
Subject: RE: <cfDesperate>


: -------------------------CFScript--------------------------------------
: This is only the relevent code to updating the array and copying the data
: from
: Array 1 to Array 2
: .....
: if ((IsDefined("url.L")) and (IsDefined("url.A"))){
:
:               U = ArrayLen(Session.MyCat) +1;
:               V = url.l;
:               if (ArrayLen(Session.MyCat) eq 0){
:                       Session.MyCat[1][1] = session.Show;
:               }

since U is always 1 more than the current arraylen, this will always add one
to the length of Session.MyCat.  Is that your problem?


:               for(T=2; T LTE 53; T=T+1){
:                       Session.MyCat[U][T] = 1;//Session.QueryList[V][T];
:               }
:       }


--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to