[Lazarus] Question about fcl-web Request's Handled variable

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Aug 23 15:00:46 CEST 2012



On Thu, 23 Aug 2012, Leonardo M. Ramé wrote:

> On 2012-08-23 10:17:57 +0200, michael.vancanneyt at wisa.be wrote:
>>
>>
>> On Wed, 22 Aug 2012, Leonardo M. Ramé wrote:
>>
>>> As I'm looking for a way to handle Cookies in an automatic/global way,
>>> instead of checking for cookie existence in every action request, I was
>>> looking into TFPWebModule.onRequest method.
>>>
>>> If I don't set Handled := True in that method, will the request continue
>>> to the Action Request handler?. If yes, I could inherit all my
>>> webmodules from a common ancestor, with it's onRequest method containing
>>> Cookie handling code.
>>
>> That is the idea of having the handled param.
>>
>
> Great!, you guys have thought about every single problem a programmer
> could face, I'm amazed.

The secret is simple:

We are programmers ourselves, and we use fcl-web ourselves :)

Michael.


More information about the Lazarus mailing list