Re: Weird Problems when using a Class::DBI subclass together with Apache::AuthCookie

[prev] [thread] [next] [Date index for 2004/08/24]

From: Jay Strauss
Subject: Re: Weird Problems when using a Class::DBI subclass together with Apache::AuthCookie
Date: 14:43 on 24 Aug 2004
>
> Also, have you tested using My::User outside of the mod_perl framework>
just to be sure it's working as expected? I've written many test cases
> against my CDBI subclass just to make sure it's doing what I expect.
> This has helped me learn the ins and outs of CDBI and double-checks any
> changes that I make to the subclass.
>
>
> HTH,
> William

William,

I don't get why you're having a problem.  I'm running an identical
setup (i'm even doing a:

Apache::DBI->connect_on_init
  ("DBI:Oracle:db1", "user", "password",
   {
    PrintError => 1, # warn() on errors
    RaiseError => 0, # don't die on error
    AutoCommit => 0, # commit executes immediately
   }
  );
AuthCookieHandler.pm
In my startup.pl

I don't have everything in one file though.  That is I have a separate
User.pm and a AuthCookieHandler.pm (which "uses" User.pm)

Jay

Re: Weird Problems when using a Class::DBI subclass together with Apache::AuthCookie
Jay Strauss 14:43 on 24 Aug 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52