For cart data you may want to use the existing session. You can do:
my $session = new GT::Session::File (
directory => $CFG->{admin_root_path} . "/sessions",
id => $session_id
) || return;
$session->data ( $can_store_any_perl_structure );
my $data = $sesion->data;
Cheers,
Alex
--
Gossamer Threads Inc.
Code:
my $session_id = GT::CGI->param('s') || GT::CGI->cookie('s') || return; my $session = new GT::Session::File (
directory => $CFG->{admin_root_path} . "/sessions",
id => $session_id
) || return;
$session->data ( $can_store_any_perl_structure );
my $data = $sesion->data;
Cheers,
Alex
--
Gossamer Threads Inc.