Passing Classes within sessions

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
dmorris
Forum Newbie
Posts: 8
Joined: Mon Sep 23, 2002 5:09 pm

Passing Classes within sessions

Post by dmorris »

Hi,

I have written two classes, the first setups and stores an array of the second class (Result_List and Result). I am trying to get access through page 2 to the instance of Result_List which I setup on page 1.

I have added my Result_List variable to a session but when I retrieve it from page 2 it is no longer of Result_List type. This means when I try to use class methods from Result_list class it says that it is not valid.

In Java I would cast the variable into a Result_List but I have not found a way that works.

Help would be appreciated.

Duncan
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply