M
Mike
Hello all,
I think I have a scope problem here, and I don't know how
to fix it.
I have a module that contains the declaration for an
arraylist. Then I have a form that uses the arraylist,
populates and deletes items in it. The arraylist is fine
unless there are multiple people in the form doing
transactions that affect the arraylist. User 1 adds 5
records to the arraylist as well does user 2. When the
page does a postback, user 1 and 2 both see 10 records in
the arraylist. I have tried to define the arraylist in
the form but everytime the page does a postback, the
array is recreated and I lose my data. Any ideas on how
to fix this problem.
Thanks,
Mike
I think I have a scope problem here, and I don't know how
to fix it.
I have a module that contains the declaration for an
arraylist. Then I have a form that uses the arraylist,
populates and deletes items in it. The arraylist is fine
unless there are multiple people in the form doing
transactions that affect the arraylist. User 1 adds 5
records to the arraylist as well does user 2. When the
page does a postback, user 1 and 2 both see 10 records in
the arraylist. I have tried to define the arraylist in
the form but everytime the page does a postback, the
array is recreated and I lose my data. Any ideas on how
to fix this problem.
Thanks,
Mike