Quoting Thom Crane <[EMAIL PROTECTED]>:
>
> My first thought is to use something like $Session->{'history'} = [] to
> create an anonymous array reference, perhaps. Either way, I have tried
> using Script_OnEnd to stack each page visited on this array, but I'm having
> no luck.
I think what you're running into is because of the way Session data is stored
by the state manager. You need to write the whole array at once rather than
modifying just part of it with indexing or push(); same is true of hash
structures in your Sessions.
For example, this won't work:
push( @{$Session->{my_array}}, $new_data );
But this will:
my @temp_array = @{$Session->{my_array}};
push( @temp_array, $new_data );
$Session->{my_array} = \@temp_array;
Or even:
$Session->{my_array} = [ @{$Session->{my_array}}, $new_data ];
Hope this helps!
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]