Re: [twsocket] Thttpserver and databases

2005-09-13 Thread Wilfried Mestdagh
Hello Adrian, Yes, ICS does not create threads. If you have bloking code then you can eventually execute it in a thread, but for the communication it is not needed. --- Rgds, Wilfried http://www.mestdagh.biz Tuesday, September 13, 2005, 00:57, adrian spinetta wrote: > are you sure? if 10 user a

Re: [twsocket] Thttpserver and databases

2005-09-13 Thread Francois Piette
> are you sure? if 10 user at the same time press intro, > fired ongetdocument and using a Tdatabase-Tquery only > one of them is processing? If you don't use multithreading yourself, the HTTP server component will serialize requests. This is very handy when processing for your requests is fast.

Re: [twsocket] Thttpserver and databases

2005-09-12 Thread adrian spinetta
are you sure? if 10 user at the same time press intro, fired ongetdocument and using a Tdatabase-Tquery only one of them is processing? What about Tsession,unique name, is that way? thanks a lot. Guillaume MAISON <[EMAIL PROTECTED]> escribió: adrian spinetta a écrit : > I am making a compl

Re: [twsocket] Thttpserver and databases

2005-09-12 Thread Francois PIETTE
>I am making a complete webserver dinamic using the examples of >createvirtualdoc. > is it ok using criticalsection inside ongetdocument to block access of a > Tquery? It is not needed because the component is asynchronous. If you don't use a thread yourself, then only one request is handled at

Re: [twsocket] Thttpserver and databases

2005-09-12 Thread Guillaume MAISON
adrian spinetta a écrit : > I am making a complete webserver dinamic using the examples of > createvirtualdoc. > is it ok using criticalsection inside ongetdocument to block access of a > Tquery? > Hello, You have no need to use criticalsection as ICS is not thread based. Only one onGetdocume

[twsocket] Thttpserver and databases

2005-09-12 Thread adrian spinetta
I am making a complete webserver dinamic using the examples of createvirtualdoc. is it ok using criticalsection inside ongetdocument to block access of a Tquery? __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístr