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

Leonardo M. Ramé l.rame at griensu.com
Thu Aug 23 14:51:56 CEST 2012


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.

Regards,
-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list