logo       

Re: Odd ASP (not ASP.NET) question...: msg#00112

Subject: Re: Odd ASP (not ASP.NET) question...
I assume that the failedObj.age instead of
failedObj.nAge was an irrelevant typo since this was
just an example.

By your example I assume that the classes are defined
locally in the ASP file (i.e., they're not contained
in server side components).

If local, are you somehow obligated to use a
Dictionary?  Would storing the class members in
Session variables suffice, e.g.:

class person
  dim nAge
  dim sName
end class

dim names()
dim ages()
dim jane: set j = new person
dim mary: set m = new person

j.nAge = 42
j.sName = "Jane"

m.nAge = 40
m.sName = "Mary"

redim ages(2)
ages = (j.nAge, m.nAge)

redim names(2)
names = (j.sName, m.sName)

Session("stored_ages") = ages
Session("stored_names") = names

Then on reload, extract the Session variables into new
arrays:

dim ages2
dim names2

ages2 = Session("stored_ages")
names2 = Session("stored_names")

>From there, just iterate through the arrays.  Would
that work?



                
__________________________________ 
Do you Yahoo!? 
Dress up your holiday email, Hollywood style. Learn more. 
http://celebrity.mail.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>