You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alex Shnitman <al...@livelinx.com> on 2000/08/01 13:23:50 UTC

Apache::ASP and Application_OnEnd

Hi,

Is the Application_OnEnd called when the web server is shut down? (It
doesn't look to me that way, but maybe it's a bug..) If it isn't, how
can I schedule code to be called on server shutdown? (I need it in
order to delete SysV IPC shared memory that I use via IPC::ShareLite
in the Apache::ASP application.)

Thanks..

-- 
Alex Shnitman <al...@livelinx.com>
LiveLinx Extensible Solutions Ltd.

Re: Apache::ASP and Application_OnEnd

Posted by Paul Lindner <pl...@redhat.com>.
On Tue, Aug 01, 2000 at 02:23:50PM +0300, Alex Shnitman wrote:
> Hi,
> 
> Is the Application_OnEnd called when the web server is shut down? (It
> doesn't look to me that way, but maybe it's a bug..) If it isn't, how
> can I schedule code to be called on server shutdown? (I need it in
> order to delete SysV IPC shared memory that I use via IPC::ShareLite
> in the Apache::ASP application.)

Application_OnEnd is called when the last active session is disposed
of.  So no, it does not get run on server shutdown.

-- 
Paul Lindner
plindner@redhat.com
Red Hat Inc.