Passing Data to custom_response

2004-02-05 Thread Michael L. Artz
I was wondering if it was possible to pass data from a handler to a custom_response declared handler within apache2/mod_perl2. I am putting a custom_response on the the HTTP_FORBIDDEN return code to direct the user to a login page (custom_response(Apache::HTTP_FORBIDDEN, 'login.pl')), so if th

Passing data to a custom_response

2004-02-06 Thread Michael L. Artz
I was wondering if it was possible to pass data from a handler to a custom_response declared handler within apache2/mod_perl2. I am putting a custom_response on the the HTTP_FORBIDDEN return code to direct the user to a login page (custom_response(Apache::HTTP_FORBIDDEN, 'login.pl')), so if th

mp2 + DB random errors

2004-02-14 Thread Michael L. Artz
Not quite sure where to start asking this question, but it might involve mp2/Apache::DBI, so I thought this might be a good start. I have built a web application using mp2 sitting on top of a postgres DB. I still am working out the kinks with the system, but I am having an interesting problem.

Re: mp2 + DB random errors

2004-02-14 Thread Michael L. Artz
It doesn't sound like a mp2 core problem. Have you tried enabling Apache::DBI's debug tracing? Yup, did that. Seems to be something 'wrong' with DBI in that the handle becomes invalid after a bad execute happens. I would think that Apache::DBI would then ping the DB and get an error and crea