You are not logged in.
Pages: 1
Well, Everything I did was put an .Clone(256) after creating HttpAPIServer. Hope this was enough! :-)
Hi, All
I'm implementing a HTTP server using THttpAPIServer. In my first experience (based on sample 09 - HttpApi web server) I noticed that server behaves like 'mono-thread' (Second request allways waits for the first request to end).
Searching on forum I saw that we need do "clone" THttpAPIServer instance in order for everything works "multi-threaded" as expected!
Unfortunately, I did not find any sample showing how to do that! Does anyone have one?
Thanks in advance!
Well, I was intending to use only THttpApiServer. TSQLHttpServer has features that I do not need now....
Anyway, my "manual mapping" works well. Thank you very much for reply
Hi, All
What is the simplest way for me to implement "Virtual Directories" (like IIS) using THttpApiServer?
Sample "09 - HttpApi web server" works great serving static files. Now I need the same using "virtual directories"
Nowadays I'm writing a THttpServerRequest.OnRequest handler and mapping these "virtual directories" to real ones....Is there any other way?
Thaks in advance!
I think this is not related with javascript authentication, but with server side authentication. When I started using javascript authentication I faced similar problems until really understand how authentication at server side works. I use "interface based" mode and faced this problem when implementing OnAuthenticationUserRetrieve....
Pages: 1