Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Include a session specific url parameter in the session timeout page
#2
Hi Magnus,

The best way to accomplish that is subclassing the TIWExceptionRenderer and overriding the RenderHTML() method.

I wrote a very basic first version of this demo that I intend to enhance, but the basic thing that you need is already there:

https://github.com/Atozed/IntraWeb/tree/...imeoutPage

Check the unit CustomExceptionRenderer.pas. The code is simple and straightforward.

You basically need some tags in your HTML file (in that example is {%URLPARAMS%} that will be replaced by the custom exception renderer class with the data that you want. Basically anything can be done using this technique.

Please let me know if you need any other information
Reply


Messages In This Thread
RE: Include a session specific url parameter in the session timeout page - by Alexandre Machado - 03-09-2025, 09:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)