[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

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

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 as

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 -