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 sen

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 http://li

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 http

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 conn

[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

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

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

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

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 m

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 m

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

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

2010-09-11 Thread RTT
On 11-09-2010 09:22, Angus Robertson - Magenta Systems Ltd wrote: What is the purpose of the OPTIONS method? From http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html "The OPTIONS method represents a request for information about the communication options available on the request/response ch

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

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 http://lists.elists.org/cgi-bin/mailman/list

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 THttpConne

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,

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 THttpConnection.SendDocument(SendT

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

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

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

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 t

[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 *)Client)->Rece

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

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
] 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 wrote: > > Fastream Technologies wrote: > > > The problem is I m

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Matt Minnis
s.org [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 wrote: > Fastream Technologies wrote: > > The problem is I

Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hi, On 5/11/09, Arno Garrels 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. But those AVs

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
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 wrote: > > Fastream Technologies wrote: > > Also FYI: I have defined in both gui app and package > > > NOFORMS;USE_SSL;NO_ADVANC

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

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 i

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

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 5/11/0

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

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

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

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 IE8

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 Arno Garrels
Maurizio Lotauro wrote: > Scrive 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

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

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 solu

Re: [twsocket] THttpServer with digest authentication and logout

2009-01-01 Thread Maurizio Lotauro
Scrive 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 aga

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

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

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

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 . >> Replaced symbol UseInt64ForHttpRange by STREAM64. >> >> -- >> Arno Garrels [TeamICS] > > Sorry for tak

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 . > Replaced symbol UseInt64ForHttpRange by STREAM64. > > -- > Arno Garrels [TeamICS] Sorry for taking so long to give feedback

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

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

[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] http://www.overbyte.be/eng/overbyte/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 no

Re: [twsocket] [THTTPServer] Answers blocked ?

2008-06-11 Thread Francois Piette
://www.overbyte.be - Original Message - From: "Guillaume ROQUES" <[EMAIL PROTECTED]> To: "twsocket" Sent: Wednesday, June 11, 2008 10:34 AM Subject: [twsocket] [THTTPServer] Answers blocked ? > > I don't know how you send the reply (since ther

[twsocket] [THTTPServer] Answers blocked ?

2008-06-11 Thread Guillaume ROQUES
> 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 for data that will never comes. As you said it usually works, > probable the length is set correctly. You have to verify if it is alwa

Re: [twsocket] [THTTPServer] Answers blocked ?

2008-06-10 Thread Francois PIETTE
ECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Guillaume ROQUES" <[EMAIL PROTECTED]> To: "twsocket" Sent: Tuesday, June 10, 2008 11

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

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

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

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: Sent: Wednesday, June 20, 2007 10:32 AM Subject: [twsocket] THttpServer > Hello Francois, > >

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

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

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

Re: [twsocket] THttpServer Authentication

2006-09-07 Thread Arno Garrels
rt mailing > Subject: Re: [twsocket] THttpServer Authentication > > That is a reference variable parameter! You need to pass the correct > password for the user specified to the component by assigning to the > variable! > > Regards, > > SZ > > - Original Messa

Re: [twsocket] THttpServer Authentication

2006-09-07 Thread xmedia
Subject: Re: [twsocket] THttpServer Authentication That is a reference variable parameter! You need to pass the correct password for the user specified to the component by assigning to the variable! Regards, SZ - Original Message - From: "xmedia" <[EMAIL PROTECTED]> To: "

Re: [twsocket] THttpServer Authentication

2006-09-07 Thread Fastream Technologies
ent: 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 that : Htt

[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++ Buil

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-07 Thread Kris Leech
Francois PIETTE wrote: >>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. St

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 be

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-03 Thread Kris Leech
sage - >From: "Kris Leech" <[EMAIL PROTECTED]> >To: >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

Re: [twsocket] THTTPServer compiled by FPC on Linux

2006-09-02 Thread Francois PIETTE
and implement a kind of message system. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Kris Leech" <[EMAIL PROTECTED]> To: Sent: Saturday, September 02, 2006 4:07 PM Su

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

Re: [twsocket] THttpServer How to receive posted files

2006-07-06 Thread Wilfried Mestdagh
Hello Rafael, There is an example for POST in one of the ICS examples. To upload a file it is exacly the same as any other post data. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, July 4, 2006, 21:23, Rafael A. Morales Castro wrote

[twsocket] THttpServer How to receive posted files

2006-07-04 Thread Rafael A. Morales Castro
Hello all I have a problem with THttpServer, I want to receive files via POST but I don't know to do this, please if any body can showme an example. thanks in advance. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket

Re: [twsocket] THttpServer Digest Auth implemented with ICS

2006-01-23 Thread Fastream Technologies
dd NTLM to the end, it would never be executed as higher priority Basic is always supported.). Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, January 23, 2006 10:01 AM Subject: Re: [twsocket]

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 i

Re: [twsocket] THttpServer Digest Auth implemented with ICS

2006-01-21 Thread Fastream Technologies
: Friday, January 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 Tech

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" Sent: Friday, January 20, 2006 1:50 PM Subject: [twsocket] THtt

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

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Frédéric SCHENCKEL
rt: [EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -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 in

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Francois Piette
or Sven and your [approved by Sven] changes ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Frédéric SCHENCKEL" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, October 10, 2005 4:03 PM Subject: Re: [twsocket] ThttpServer and

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Frédéric SCHENCKEL
49 À : ICS 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 anoth

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

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Francois Piette
Message - From: "Frédéric SCHENCKEL" <[EMAIL PROTECTED]> To: "ICS support mailing" 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 Schmidt

Re: [twsocket] ThttpServer and SOAP

2005-10-10 Thread Fredrik Larsson
It might that you send some special character that gets encoded through the webserver. You probably need to decode the text. Try to send just A to Z characters to start with and no weird signs like é ü et c. Regards, Fredrik. -Original Message- When transmit a soap request, i get the err

[twsocket] ThttpServer and SOAP

2005-10-10 Thread Frédéric SCHENCKEL
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 a soap request, i get the error from my ISAPI dll : 'EDOMP

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

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: "Bjørnar Nielsen" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Monday, April 18, 2005 12:13 PM Subject: RE: [twsocket] THttpServer not complie

RE: [twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Bjørnar Nielsen
mailing Subject: [twsocket] THttpServer not complies with RFC? Hello, I am not sure if this was written before but I have found the following problem: When an invalid HTTP command is entered in the header of a HTTP request by the client (for example other than HEAD, GET and POST), the RFC says the

[twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Fastream Technologies
Hello, I am not sure if this was written before but I have found the following problem: When an invalid HTTP command is entered in the header of a HTTP request by the client (for example other than HEAD, GET and POST), the RFC says the server must return 501 (Not Implemented) but ICS server ret