|
Posted by Martin Mandl - m2m tech support on 03/23/07 09:49
On Mar 22, 9:11 pm, "Jean Pierre Daviau" <O...@WasEno.ugh> wrote:
> Hi to every one,
>
> Can I add a shutdown hook which gets called before your
> application is killed (which probably happens when
> the session ends or the system reboots.
>
> --
> Thanks for your attention.
>
> Jean Pierre Daviau
> --
> windows Xp
> asus p4 s533/333/133
> Intel(R) Celeron (R) CPU 2.00 GHz
> Processor Radeon7000 0x5159 agp
Dear Jean Pierre,
yes, you can add a shutdown hook - it get's called when your script
ends.
If you want it only called when your session ends, you have to adjust
your session destruction or garbage control functions ...
Both are explained in detail in the PHP manual ;)
good luck
Martin
-----------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnung
http://www.ea-geier.at
------------------------------------------------
m2m server software gmbh
http://www.m2m.at
[Back to original message]
|