Does anyone have an example of Apache::Session::Oracle.  I am trying
to use this inside an Embedded perl page:

    $id='11111111';
    eval {
      tie %session,'Apache::Session::Oracle',$id,{
        DataSource => 'dbi:Oracle:host=db.host.com;sid=dbname',
        UserName   => 'USER',
        Password   => 'PWD',
        Commit     => 1
      };
    };
    if ($@) {
        $html.="<PRE>Failed to tie session.</PRE>"
    } else {
      $session{login}='Bob';
      $html.="<PRE>Setting up $id</PRE>";
    }

But nothing seems to make it to the database.  It is getting to the
else clause of the if ($@)?  I have poked around looking for more
examples but have not seen anything more? 

-- 
C Wayne Huling <[EMAIL PROTECTED]>

Reply via email to