: -------------------------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