Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Stefan Göppert
Hi, that works. OverbyteIcsWebAppServerMailer.pas is a much better example. Great - thank you! ​Best regards ….​ 2014-09-09 20:51 GMT+02:00 Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk>: > > I've added an AddPostHandler, but I don't know how to grab the POST > > values. Is it th

Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Angus Robertson - Magenta Systems Ltd
> I've added an AddPostHandler, but I don't know how to grab the POST > values. Is it the same like get?: > > ExtractURLEncodedValue(Params, 'user', user); > ExtractURLEncodedValue(Params, 'password', password); For form data, I save the posted data into a stream and then use the form analys

Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Stefan Göppert
Hi, I've added an AddPostHandler, but I don't know how to grab the POST values. Is it the same like get?: ExtractURLEncodedValue(Params, 'user', user); ExtractURLEncodedValue(Params, 'password', password); Thanks and best regards, Stefan 2014-09-09 19:13 GMT+02:00 Angus Robertson - Ma

Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Angus Robertson - Magenta Systems Ltd
> yes, I've looked at the example. But if I try to implement this to > my application the OnPostedData-Event is never raised. I don't know > why :-(. > Is there a Handler for POST-Data, that I have to register first? You do need an AddPostHandler page handler for each POST page you need, maybe

Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Stefan Göppert
Hi, yes, I've looked at the example. But if I try to implement this to my application the OnPostedData-Event is never raised. I don't know why :-(. Is there a Handler for POST-Data, that I have to register first? Best regards, Stefan 2014-09-09 13:56 GMT+02:00 Angus Robertson - Magenta Systems

Re: [twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Angus Robertson - Magenta Systems Ltd
> is there a simple example how to receive and manage POST Data with > THttpAppServer? The normal web server sample has all the POST data examples, it's exactly the same for the application web server which is a descendent with the same events. Angus -- To unsubscribe or change your settings fo

[twsocket] Simple Example to receive POST Data with THttpAppServer?

2014-09-09 Thread Stefan Göppert
Hi, is there a simple example how to receive and manage POST Data with THttpAppServer? Thanks, Stefan Göppert -- 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