logo       

saving results into a session?: msg#00084

lang.perl.modules.dbi.rose-db-object

Subject: saving results into a session?


i finally figured out that its been rosedb (oh no!) thats given me
grief with Apache::Session

===
my $results= MyApp::RoseDB::Object::UseraccountAttributes::Manager-
>select_many();
=SNIP
$self->{session}{account_attributes}= $results
===

that won't work, apparently because god hates me

actually i believe it has to do with code refs and storable, or
perhaps the way things are blessed

when i use Data::Dumper, i see everything right
'_useraccount_attributes' => [
bless
( {

'__xrdbopriv_in_db' => 1,

'attribute_type_id' => '10',

'privacysetting_id' => '10',

'db' => bless( {

=SNIP

}, 'MyApp::RoseDB::__RoseDBPrivate__::Rose::DB::Pg' ),

'is_verified' => '1',

but it never gets saved to the session

i've tried all sorts of permutations, none have worked.

does anyone have a suggestion?




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise