There ought to be a better way. I'm not very familar with web issues
but for plain CGI I'd have expected a SIGHUP and/or SIGPIPE to be
delivered to the process. Those could be caught and trigger cleanup.

Tim.

On Sun, Nov 21, 2004 at 09:12:30AM -0700, Reidy, Ron wrote:
> Look at setting the sqlnet.expire_time parameter in your server's 
> $ORACLE_HOME/network/admin/sqlnet.ora file.

> From: Kevin Bass [mailto:[EMAIL PROTECTED]
> 
> I have a slight problem that I am attemping to solve. I am using CGI/Perl
> (DBD Oracle) on Linux AS 2.1 to access to the database. When users encounter
> problems on the web, they cancel (or press stop) in their browsers. This
> will stop there browser interaction and also cause the database connection
> to not disconnect which causes a runaway process. Is there an article that I
> can read or a procedure/module or process that someone has written within
> CGI or DBI (or sometimes else) that will allow me to kill my database
> connection when a users stops an execute within his/her browser?  Thanks!
> 
> Kevin

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to