![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: Apache::Session::MySql using a_sessionby Anonymous Monk |
on Aug 02, 2004 at 02:19 UTC ( #379181=note: print w/replies, xml ) | Need Help?? |
Hi, Correct, I would not want to change the table directly (even though that would be easier at this point). I try setting values like the example shows (ie. visa_number). But it never makes it back to the database table. Here is some example code from my script: ... Other code .... my %session; tie %session, 'Apache::Session::MySQL', $cookie, { DataSource => 'dbi:mysql:sessions', #these arguments are UserName => '*******', #required when using Password => '*******', #MySQL.pm LockDataSource => 'dbi:mysql:sessions', LockUserName => '*******', LockPassword => '*******' }; $session{a_session}=localtime(); $session{somenumber}='123456'; ... Other code .... untie %session; undef %session; Again, nothing seems to make it back into the table. =( Any Ideas? --DawgTool
In Section
Seekers of Perl Wisdom
|
|