Apache::DBI and deleting temporary tables (Sybase ASE)

2001-01-10 Thread Alexander Farber (EED)
Hi, I have read http://perl.apache.org/guide/debug.html#Handling_the_User_pressed_Stop_ but still don't know the best solution for my problem: I would like to port a bigger CGI-script to mod_perl. This script uses DBD::Sybase and creates few temporary tables (#temp1, #temp2) which are filled

Re: Apache::DBI and deleting temporary tables (Sybase ASE)

2001-01-10 Thread Michael Peppler
Alexander Farber (EED) writes: So what is the best way to handle it? I could add drop table #temp1 drop table #temp2 to the SQL statements of my script, but what happens if the user presses STOP or the script times out? Should I move this SQL-code to $r-register_cleanup()?

Re: Apache::DBI and deleting temporary tables (Sybase ASE)

2001-01-10 Thread Stas Bekman
On Wed, 10 Jan 2001, Alexander Farber (EED) wrote: Hi, I have read http://perl.apache.org/guide/debug.html#Handling_the_User_pressed_Stop_ but still don't know the best solution for my problem: I would like to port a bigger CGI-script to mod_perl. This script uses DBD::Sybase and creates