| 
      
      
      From: Jure S. <jur...@li...> - 2002-04-15 10:41:50
      
     | 
| Chris Winters wrote:
> On Fri, 2002-04-12 at 09:15, Jure Simsic wrote:
> 
> The next step would be to create a brand new session in the test script,
> then retrieve that same session from the test script to see if it works
> ok. 
> 
Btw, if i do something like:
   tie %session, 'Apache::Session::Postgres',
     $SESSION_ID, { Handle => $R->db };
   $SESSION_ID = $session{'_session_id'};
   $session{'key_size'} = length($SESSION_ID);
   print Dumper( \%session );
   untie %session;
   print "\nRetrieving session:\n";
   tie %session, 'Apache::Session::Postgres',
      $SESSION_ID, { Handle => $R->db };
   print Dumper( \%session );
   untie %session;
..it does return me the extra supplied value ( $session{'key_size'} ):
$VAR1 = {
           '_session_id' => 'ae95a09eba71452658364aa7d1aee1d7',
           'key_size' => 32
         };
Retrieving session:
$VAR1 = {
           '_session_id' => 'ae95a09eba71452658364aa7d1aee1d7',
           'key_size' => 32
         };
So it seems as Apache session somewhat works..
j-)
 |