Re: [twsocket] THTTPserver...

2012-08-31 Thread Angus Robertson - Magenta Systems Ltd
I need to log the IP address of the client when it connects to the server. Look at the Web Application Server sample, OverbyteIcsWebAppServerMain.pas, which is similar to the main web server. It shows how to write W3C format log file from the AfterAnswer event, including how much data was

[twsocket] THTTPserver...

2012-08-30 Thread zayin
Hi, Version 7.39 I need to log the IP address of the client when it connects to the server. OnClientConnect seems to be the best place but I do not see any way to get the IP address of the connecting client? Suggestions? Thanks, Mark -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] THTTPserver...

2012-08-30 Thread RTT
GetPeerAddr onHTTPRequestDone is also a good place, if you want to log bytes delivered, etc.. Hi, Version 7.39 I need to log the IP address of the client when it connects to the server. OnClientConnect seems to be the best place but I do not see any way to get the IP address of the

Re: [twsocket] THTTPserver...

2012-08-30 Thread zayin
GetPeerAddr onHTTPRequestDone is also a good place, if you want to log bytes delivered, etc.. DOH! Of course. When I was initially testing... oh never mind. I had one of those moments. Thanks, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] THTTPserver...

2012-08-30 Thread zayin
GetPeerAddr onHTTPRequestDone is also a good place, if you want to log bytes delivered, etc.. DOH! Of course. When I was initially testing... oh never mind. I had one of those moments. Thanks, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] THttpServer and THttpConnection...

2012-07-03 Thread zayin
Hello, Delphi 2007, ICS 7.39 (THttpServer) I have a server (THttpServer) and clients derived from THttpConnection and all has been working well. I now need to set the initial page a user accesses after log on, regardless of the url he is attempting to access first. All the log on code is

Re: [twsocket] THttpServer and THttpConnection...

2012-07-03 Thread Angus Robertson - Magenta Systems Ltd
I now need to set the initial page a user accesses after log on, regardless of the url he is attempting to access first. You can do this in the BeforeProcessRequest method, by modifying the client path to another page name. procedure TMainForm.HttpAppSrvBeforeProcessRequest(Sender, Client:

[twsocket] THttpServer...

2012-07-03 Thread zayin
Hello, I have a timer that I am using to require a re-logon after X minutes. In the AuthGetPassword I check if the user has timed out and do not supply a password and this causes the browser to ask for the credentials. Perfect. If I select cancel for when asked for the user name and password

[twsocket] THttpServer and OnServerStopped

2011-04-18 Thread Miguel Enguica
Hi. I'm trying to build a first application with ICS (latest version), under Delphi XE and I'm getting an unexpected behavior. I took WebServer demo as a tutorial. The application works well with OnGetDocument events, but when I get a OnPostDocument event, after I perform the return of the

[twsocket] THttpServer memory leak

2011-03-17 Thread FrancoGG
I'm using ICS under Delphi 2007, specifically THttpServer. Is it possible there is a memory leak in the component? Even on an empty form, in a new project, with just a THttpServer and a button to start the server, the application's memory usage keeps increasing every time a user connects. Is

Re: [twsocket] THttpServer memory leak

2011-03-17 Thread Arno Garrels
FrancoGG wrote: I'm using ICS under Delphi 2007, specifically THttpServer. Is it possible there is a memory leak in the component? Nothing is impossible, look at Japan :( Even on an empty form, in a new project, with just a THttpServer and a button to start the server, the application's

Re: [twsocket] THttpServer memory leak

2011-03-17 Thread RTT
On 17-03-2011 17:12, FrancoGG wrote: the application's memory usage keeps increasing every time a user connects If you are using a custom THttpConnection, check if you are missing to free any of its owned objects in its destructor method. -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-11 Thread Arno Garrels
RTT wrote: Done. I've now sent you a PM with the .diff file. Thanks. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-11 Thread Angus Robertson - Magenta Systems Ltd
But, why don't keep the naming schema? TriggerAfterProcessRequest ( and respective OnAfterProcessRequest) would be less confuse. The event is between two processing stages, so could be named after one or before the other. What is the purpose of the OPTIONS method? Angus -- To unsubscribe

Re: [twsocket] THttpServer POST

2010-09-10 Thread David Lewis
I've looked at the demo, which got me to come up with the following code, however it doesn't work yet. I get the PostDocument event, but it doesn't appear to progress to the PostedData event (I don't get any PostedData logs) Any thoughts that may fix me? // Extract from setup: #define

Re: [twsocket] THttpServer POST

2010-09-10 Thread Arno Garrels
David Lewis wrote: I've looked at the demo, which got me to come up with the following code, however it doesn't work yet. I get the PostDocument event, but it doesn't appear to progress to the PostedData event (I don't get any PostedData logs) Any thoughts that may fix me? From a brief

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread Arno Garrels
RTT wrote: Hi everyone! Is there any simple way to handle other than the GET, POST and HEADER request methods,... as OPTIONS,...? The way it is now, the THttpConnection.ProcessRequest procedure always respond with a Answer501, not giving any chance to handle other methods. I think a

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread RTT
On 10-09-2010 16:43, Arno Garrels wrote: Another thing that would be useful, if added to the code base of the THttpConnection, is the possibility to send additional headers from the THttpConnection.SendDocument, to define cache control, etc.. procedure

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread Angus Robertson - Magenta Systems Ltd
Is there any simple way to handle other than the GET, POST and HEADER request methods,... as OPTIONS,...? You'd currently have to override the entire ProcessRequest procedure to add a new method. By the way, the TriggerBeforeAnswer is used in what scenarios? From the code above, it

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread Arno Garrels
RTT wrote: On 10-09-2010 16:43, Arno Garrels wrote: Another thing that would be useful, if added to the code base of the THttpConnection, is the possibility to send additional headers from the THttpConnection.SendDocument, to define cache control, etc.. procedure

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread RTT
Thank you for the explanation Angus. But, why don't keep the naming schema? TriggerAfterProcessRequest ( and respective OnAfterProcessRequest) would be less confuse. Rui -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread RTT
Done. I've now sent you a PM with the .diff file. Feel free to apply your changes to the latest SVN revision and send me the patch file by PM. Changes MUST not break existing code and a change log in unit's comment section was helpful too. -- To unsubscribe or change your settings for

[twsocket] THttpServer POST

2010-09-09 Thread David Lewis
I'm putting together a basic web server for a small application to communicate with. I have the GET event working as intended, but am having difficulty with the POST event. The event fires, but I can't seem to work out where to find the POST data... I tried: ((THttpConnection

Re: [twsocket] THttpServer POST

2010-09-09 Thread Arno Garrels
David Lewis wrote: I'm putting together a basic web server for a small application to communicate with. I have the GET event working as intended, but am having difficulty with the POST event. The event fires, but I can't seem to work out where to find the POST data... I tried:

[twsocket] THttpServer - How to handle unimplemented request methods

2010-09-09 Thread RTT
Hi everyone! Is there any simple way to handle other than the GET, POST and HEADER request methods,... as OPTIONS,...? The way it is now, the THttpConnection.ProcessRequest procedure always respond with a Answer501, not giving any chance to handle other methods. I think a

[twsocket] THTTPServer derivative, ConnectionDataAvailable not called

2009-09-29 Thread Fastream Technologies
Hello, I searched google but found no answer to this. I am writing two sockets content proxy for the CONNECT method of HTTP/1.1. When I connect with FileZilla and IE to FTP sites, I get the banner but the client's pumped data (the USER FTP command for example), the data never arrives at

[twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hello, I have an upgraded code from v6. The below line: adminHTTPServer = new THttpServer(NULL); causes AV (write of address 0014). Any idea what might have I done wrong? This is a GUI app but for debugging the service so do not want to use Forms::Application. Best Regards, SZ -- To

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Also FYI: I have defined in both gui app and package NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG . The Delphi guys may say why don't you step into the code and debug but BCB2007 does not let me step into Delphi code in C++ projects. Regards, Gorkem Ates On

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hello, I fixed this by removing the v6 libs from project file using Notepad. Regards, SZ On 5/11/09, Fastream Technologies ga...@fastream.com wrote: Also FYI: I have defined in both gui app and package NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG . The

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Arno Garrels
Fastream Technologies wrote: Hello, I fixed this by removing the v6 libs from project file using Notepad. So not a bug in ICS. Please note that the THttpServer got an internal timer which iterates thru the list of clients every 5 seconds to detect timeouts. This may be important to know if

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Arno Garrels
Fastream Technologies wrote: Also FYI: I have defined in both gui app and package NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG . The Delphi guys may say why don't you step into the code and debug but BCB2007 does not let me step into Delphi code in C++

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
The problem is I must run my C++ project with release config as otherwise it gives av due to memory fragmentation (HEAVY duty!). Regards, SZ On 5/11/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Also FYI: I have defined in both gui app and package

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Arno Garrels
Fastream Technologies wrote: The problem is I must run my C++ project with release config as otherwise it gives av due to memory fragmentation (HEAVY duty!). If you want to debug, debug information have to be included, that's true. But those AVs are IMO a hint that something went rather wrong

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hi, On 5/11/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: The problem is I must run my C++ project with release config as otherwise it gives av due to memory fragmentation (HEAVY duty!). If you want to debug, debug information have to be included, that's true.

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Matt Minnis
[mailto:twsocket-boun...@elists.org] On Behalf Of Fastream Technologies Sent: Monday, May 11, 2009 1:10 PM To: ICS support mailing Subject: Re: [twsocket] THttpServer under ICSv7 and BCB2007 Hi, On 5/11/09, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: The problem is I

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-02 Thread Arno Garrels
Heiko Sommerfeldt wrote: Can this mechanism be used to enforce a logout? My web site should have a logout/new login link. When this link is activated, the browser should ask for new login credentials. It would not work reliable since for example, IE6 shows the login dialog with previously

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
Heiko Sommerfeldt wrote: Hi, I am using THttpServer with digest authentication and it works well. What I need is a logout, so the user (browser) needs a new login. It's IMO not possible to force the browser to display a login dialog. Currently the HTTP server uses a hardcoded

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Heiko Sommerfeldt
Hi, I am using THttpServer with digest authentication and it works well. What I need is a logout, so the user (browser) needs a new login. It's IMO not possible to force the browser to display a login dialog. Currently the HTTP server uses a hardcoded nonce-lifetime of one minute.

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
Heiko Sommerfeldt wrote: The main problem is the following: If the user (of the browser) puts in a wrong password the connection is refused. Now the user opens (refresh) the page again and the browser sends the rejected digest information again automatically so the login fails again. Is

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Maurizio Lotauro
Scrive Heiko Sommerfeldt i...@phoner.de: [...] The main problem is the following: If the user (of the browser) puts in a wrong password the connection is refused. Now the user opens (refresh) the page again and the browser sends the rejected digest information again automatically so the

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Heiko Sommerfeldt
The main problem is the following: If the user (of the browser) puts in a wrong password the connection is refused. Now the user opens (refresh) the page again and the browser sends the rejected digest information again automatically so the login fails again. Is there really no solution for

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Fastream Technologies
Do you have any proxy configures for your browser? Regards, SZ On Thu, Jan 1, 2009 at 2:23 PM, Heiko Sommerfeldt i...@phoner.de wrote: The main problem is the following: If the user (of the browser) puts in a wrong password the connection is refused. Now the user opens (refresh) the

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Heiko Sommerfeldt i...@phoner.de: [...] The main problem is the following: If the user (of the browser) puts in a wrong password the connection is refused. Now the user opens (refresh) the page again and the browser sends the rejected digest information

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Heiko Sommerfeldt
Do you have any proxy configures for your browser? No. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Heiko Sommerfeldt
Yes, it is automatically sent by the component. However, after a little test with Firefox, and passing an invalid password, I see an infinite loop. Firefox infinitely retries to login with the wrong password. This repeats with the webserver demo easily. The same happens here with IE8beta

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
Heiko Sommerfeldt wrote: The same happens here with IE8beta too. Therefore I answer with 403 after such failed login. It's a bug in THttpServer :( [..] RFC 2617 HTTP Authentication June 1999 stale A flag, indicating that the previous request from the

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Arno Garrels
The previous fix was not yet OK since it never forced a new nonce. The change below should be safer since a new nonce is forced after its lifetime expired. I hope I understood the stale parameter correctly now. in (OverbyteIcs)HttpSrv.pas, function THttpConnection.AuthDigestGetParams: Boolean;

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Heiko Sommerfeldt
Hi, that solves my problems! There is no loop when wrong login parameters are used. Thanks a lot! Can this mechanism be used to enforce a logout? My web site should have a logout/new login link. When this link is activated, the browser should ask for new login credentials. Heiko The previous

[twsocket] THttpServer with digest authentication and logout

2008-12-31 Thread Heiko Sommerfeldt
Hi, I am using THttpServer with digest authentication and it works well. What I need is a logout, so the user (browser) needs a new login. As long I don't close the browser the same digest information is sent by the browser and authentication is successful. Is there a way to force the browser to

Re: [twsocket] THttpServer fixes for ICS v5/6/7 uploaded to theSVNrepositories - please test!

2008-12-14 Thread Arno Garrels
Lars Gehre wrote: Hi, Fixed responses and an infinite loop when a byte-range-set was unsatisfiable. Added a fix for content ranges with files 2GB as suggested by Lars Gehre l...@dvbviewer.com. Replaced symbol UseInt64ForHttpRange by STREAM64. -- Arno Garrels [TeamICS] Sorry for

Re: [twsocket] THttpServer fixes for ICS v5/6/7 uploaded to the SVNrepositories - please test!

2008-12-13 Thread Lars Gehre
Hi, Fixed responses and an infinite loop when a byte-range-set was unsatisfiable. Added a fix for content ranges with files 2GB as suggested by Lars Gehre l...@dvbviewer.com. Replaced symbol UseInt64ForHttpRange by STREAM64. -- Arno Garrels [TeamICS] Sorry for taking so long to give

[twsocket] THttpServer new features uploaded to the SVN repository

2008-12-05 Thread Arno Garrels
Hi, THttpServer --- Added Keep-Alive timeout and a maximum number of allowed requests during persistent connections. Set property KeepAliveTimeSec to zero in order disable this feature entirely, otherwise persistent connections are dropped either after an idle time of value

Re: [twsocket] THttpServer new features uploaded to the SVN repository

2008-12-05 Thread Arno Garrels
Changes are ICS v7 only. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: Hi, THttpServer --- Added Keep-Alive timeout and a maximum number of allowed requests during persistent connections. Set property KeepAliveTimeSec to zero in

[twsocket] THttpServer fixes for ICS v5/6/7 uploaded to the SVN repositories - please test!

2008-11-30 Thread Arno Garrels
Hi, Fixed responses and an infinite loop when a byte-range-set was unsatisfiable. Added a fix for content ranges with files 2GB as suggested by Lars Gehre [EMAIL PROTECTED]. Replaced symbol UseInt64ForHttpRange by STREAM64. -- Arno Garrels [TeamICS]

[twsocket] THttpServer Bug - Infinite loop on error in range-definition

2008-11-29 Thread Arno Garrels
Hi, In order to reproduce the bug connect with THttpCli and assign the following byte range: ContentRangeBegin := some valid value; ContentRangeEnd := file size; The THttpServer will enter an infinite loop! What I do not know is whether the range above should be treated as a valid range or

Re: [twsocket] [THTTPServer] Answers blocked ?

2008-06-11 Thread Francois Piette
PROTECTED] To: twsocket twsocket@elists.org Sent: Wednesday, June 11, 2008 10:34 AM Subject: [twsocket] [THTTPServer] Answers blocked ? I don't know how you send the reply (since there are several ways to do it), but if you don't set ContentLength correctly, then the client may wait forever

[twsocket] [THTTPServer] Answers blocked ?

2008-06-10 Thread Guillaume ROQUES
Hi, we are using ICS components for a Web server, developed as a windows service, since a long time now and everything work fine. But we just install it in a hospital and found problems concerns answers from the web server. Client side: sending a request through a form, then the browser

Re: [twsocket] [THTTPServer] Answers blocked ?

2008-06-10 Thread Francois PIETTE
middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: Guillaume ROQUES [EMAIL PROTECTED] To: twsocket twsocket@elists.org Sent: Tuesday, June 10, 2008 11:58 AM Subject: [twsocket] [THTTPServer] Answers blocked ? Hi

[twsocket] THttpServer

2007-06-20 Thread Albert
Hello Francois, I'm trying to write a program that uses the THttpServer (ICS version 6) component in Borland Studio. As mentioned in one of the FAQ the use of __classid() will resolve the problem of being unable to assign the ClientClass of the THttpServer. When I assign my

Re: [twsocket] THttpServer

2007-06-20 Thread Francois Piette
Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Albert [EMAIL PROTECTED] To: twsocket@elists.org Sent: Wednesday, June 20, 2007 10:32 AM Subject: [twsocket] THttpServer Hello Francois, I'm trying

[twsocket] THttpserver Componet

2007-06-20 Thread Avinash
Hello, I am using ICS THttpserver Component.i created a webserver .so i want to know that does this component support ISAPI application. waiting for your reply. thanks regards Avinash Kumar. Subscribe to

Re: [twsocket] THttpserver Componet

2007-06-20 Thread Francois PIETTE
I am using ICS THttpserver Component.i created a webserver .so i want to know that does this component support ISAPI application. Someone wrote ISAPI/CGI support. See usermade page at my website. This code probably need a little refresh. btw: basically ISAPI/CGI is completely against

Re: [twsocket] THttpServer Authentication

2006-09-08 Thread Arno Garrels
@elists.org Sent: Friday, September 08, 2006 8:30 AM Subject: [twsocket] THttpServer Authentication Hi, I am wondering anybody here can give an example on how to build a password protected web server using THttpServer. I tried to setup a basic authentication for THttpServer. But it seems

Re: [twsocket] THttpServer Authentication

2006-09-08 Thread xmedia
Thank you for all your help. I managed to get it work.:-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Friday, September 08, 2006 2:41 PM To: ICS support mailing Subject: Re: [twsocket] THttpServer Authentication xmedia wrote

[twsocket] THttpServer POST data

2006-09-08 Thread xmedia
Anybody knows where I can find a web server demo that can process posted data? For example, I want to get all data posted from a web form and save to database. The current one came with ICS components only shows how to process a GET request. Any help is appreciated. Thanks. wang -- To

[twsocket] THttpServer Authentication

2006-09-07 Thread xmedia
Hi, I am wondering anybody here can give an example on how to build a password protected web server using THttpServer. I tried to setup a basic authentication for THttpServer. But it seems that HttpServer1AuthGetPassword event always give an empty Password (I use ShowMessage(Password) in C++

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-03 Thread Kris Leech
] To: twsocket@elists.org Sent: Saturday, September 02, 2006 4:07 PM Subject: [twsocket] THTTPServer compiled by FPC on Linux Hello, I am using Free Pascal Compiler (Lazarus IDE) and am having trouble with the compiling anything using THTTPServer on Linux platform, specifically Im using Fedora 5, but I

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-03 Thread Francois PIETTE
Thanks for the pointer. Im guessing the API for the Delphi and Kylix versions are the same so all we need to do is have the different ICS libary on each platform to successfully compile without changing source code. That was the goal of my Kylix port. Still there are differences mostly

[twsocket] THTTPServer compiled by FPC on Linux

2006-09-02 Thread Kris Leech
Hello, I am using Free Pascal Compiler (Lazarus IDE) and am having trouble with the compiling anything using THTTPServer on Linux platform, specifically Im using Fedora 5, but I think it is a generic linux problem since the error is can't find Windows unit. I'm guessing this is a unit specific

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-02 Thread Francois PIETTE
: [twsocket] THTTPServer compiled by FPC on Linux Hello, I am using Free Pascal Compiler (Lazarus IDE) and am having trouble with the compiling anything using THTTPServer on Linux platform, specifically Im using Fedora 5, but I think it is a generic linux problem since the error is can't find

Re: [twsocket] THttpServer Digest Auth implemented with ICS

2006-01-23 Thread Arno Garrels
Fastream Technologies wrote: Hello Francois and Everybody, We (me and Peter Nikolow) worked on Digest authentication for ICS THttpServer. Could this be implemented so that further authentication methods can be added easily? Would it make sense to add NTLM support as well? With NTLM it

Re: [twsocket] THttpServer Digest Auth implemented with ICS

2006-01-21 Thread Fastream Technologies
20, 2006 8:44 PM Subject: Re: [twsocket] THttpServer Digest Auth implemented with ICS That's an interesting contribution ! Thank you. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket

[twsocket] THttpServer Digest Auth implemented with ICS

2006-01-20 Thread Fastream Technologies
Hello Francois and Everybody, We (me and Peter Nikolow) worked on Digest authentication for ICS THttpServer. We used Delphi and ICS v5 (unit version 1.38) for the httpsrv.pas and C++ for the test unit. We (fastream.com) want to donate the code to our very community. I urge you (Francois) to

Re: [twsocket] THttpServer Digest Auth implemented with ICS

2006-01-20 Thread Francois PIETTE
That's an interesting contribution ! Thank you. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, January 20, 2006 1:50 PM Subject: [twsocket] THttpServer Digest Auth

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Francois Piette
SCHENCKEL [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, October 10, 2005 11:49 AM Subject: [twsocket] ThttpServer and SOAP Hello, I'm using François's HttpServer and TICSIsapi component from Sven Schmidts. I've slightly modified TICSIsapi to handle the soap

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Guillaume MAISON
Francois Piette a écrit : When transmit a soap request, i get the error from my ISAPI dll : 'EDOMParse Error : An Invalid character was found in text content' Is it possible for you the get the invalid character ? This could give an idea about what is occuring. Maybe you have an accented

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Frédéric SCHENCKEL
support mailing Objet : [twsocket] ThttpServer and SOAP Hello, I'm using François's HttpServer and TICSIsapi component from Sven Schmidts. I've slightly modified TICSIsapi to handle the soap requests (wsdl and so on). This part is working. But i'm facing another problem : When transmit

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Francois Piette
[approved by Sven] changes ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Frédéric SCHENCKEL [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, October 10, 2005 4:03 PM Subject: Re: [twsocket] ThttpServer and SOAP Hello, I've

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Frédéric SCHENCKEL
] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Francois Piette Envoyé : lundi 10 octobre 2005 16:12 À : ICS support mailing Objet : Re: [twsocket] ThttpServer and SOAP If anyone interested in the WebInterface

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-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

[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!

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 onGetdocument

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 a

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

Re: [twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Fastream Technologies
Oh, I guess my version was a bit old. This may be the problem. Thanks, SZ - Original Message - From: Bjrnar Nielsen [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Monday, April 18, 2005 12:13 PM Subject: RE: [twsocket] THttpServer not complies with RFC? I have