You shouldn't rely on server not being restarted - if you for example
need to reboot or need to reload AOLserver for other reasons.
If you use C, you need to use Ns_RegisterAtExit(), and in Tcl use
ns_atshutdown.
Besides just for being more secure you should save your current data
from time to t
+-- On Mar 11, å¼ æ^Ùæµ· said:
> I have my AOLserver in inittab already.
> But i should maintain many online user's information and i should not stop the
>sevice.
You can enable and use the ns_eval function to make all threads
re-source a .tcl file. You cannot change ns_config data af
At 12:05 AM 3/11/2002, you wrote:
>I have my AOLserver in inittab already.
>But i should maintain many online user's information and i should not stop
>the sevice.
>Thanks.
I am not sure what you need to reload, but you can use
ns_eval [list source ]
to have the contents of filename sourced
I have my AOLserver in inittab already.
But i should maintain many online user's information and i should not stop the sevice.
Thanks.
I have my AOLserver in inittab.
So I just ns_shutdown it and everything gets reloaded in under 5s
(unless there's a really big Tcl init module).
??? wrote:
> I have a module written by c as a part of Aolserver and i want reload some config
>files and static pages of this module when aolserver i
I have a module written by c as a part of Aolserver and i want reload some config
files and static pages of this module when aolserver is running.
Is there any api or build-in solutions about it of Aolserver?
If none,is DomainSocket possible?
Sorry for my poor english.
Thanks a lot.