"Eric L. Brine" wrote:
> 
> > I am having recurring troubles using the Date::Manip and DBD::Sybase
> > modules in the contest of mod_perl/ASP pages. 75%-90% of the time my
> > ASP pages will work just fine.  The reminder 25-10% I get these kinds
> > of errors:
> 
> These both seem to be problems with the environment. Isn't there a
> directive that sets environment variables? You might find a solution if
> you have a look at (or use) that directive.
> 

Carl,

I have found that using PerlSetEnv will not necessarily 
be done for each request, though this may be fixed now
with modperl.  My problems with this came from interfacing
with Oracle via DBD::Oracle.

A good way to make sure your %ENV is getting set correctly is 
to do the inits in the global.asa's Script_OnStart for your 
Apache::ASP application, which will get run for each request.
Personally, I use something of a mylogin() routine, where 
db relevant %ENV setting get done.

BTW, if you have a public site that uses Apache::ASP, it would
be great if you could get me an address that I could list at:

  http://www.nodeworks.com/asp/sites.html

-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to