# store a reference to the hash
# note the backslash!
$session->param("access", \%access);
####
#retrieve the reference to the hash
my $access_ref = $session->param("access");
####
# access the data in the hash reference
print "My data from the hash is: ", $access_ref->{hashkey}, "\n";