On Sat, 3 Mar 2018, African Wild Dog wrote:

2018-03-03 6:31 GMT-03:00 Michael Van Canneyt <[email protected]>:


I suppose you mean TCustomHTMLModule ?


Exactly. Sorry for my typo. I mean TCustomHTMLModule.



I have fixed 1 by descending TCustomHTMLModule from TSessionHTTPModule. It
originally had support for sessions. That it lost this support was the
result of a refactoring of session support... This is now fixed.
See revision 38397.


Perfect.


As for 2, what do you mean by this ? TCustomHTMLModule already supports
HTML Content actions.
If you planned to actually add it to TCustomHTMLModule: No, that is not OK.


HTML content actions are not used by the TCustomHTMLModule. If you have a
module called "mymodule" and an action called "myaction", when you access
the address "/mymodule/myaction", the event OnGetContent of the WebModule
is always executed but, the OnGetContent event of the action is never
executed. This is by design. I would like to fix it.


OK, this is clearly a bug :(
I committed a potential fix in rev 38401. Please check if it works for you,
feel free to make/suggest improvements.

Michael.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to