|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 08 > 05 > Telegram_2019-08-05T10 |
2019-08-05T10:03:10
Sorry if I use again this channel, but I prefer finish the discussion started with type: mention @Alex7691 .
So, I am really not understanding the session system.
If I use the new demo then type: bold EVERY TContentHandler type: bold opens a new session . There is no way to stay in the same session using an external url connected with a contentHandler.
For example my web designer writes a menu with some urls, and every url call a form registered in my IWApp with \TFormDummy.SetURL('', 'dummy');\. With this technique, that is the same as you type: mention @Alex7691 are using in the demo, IW always open a new session.
The same happens with the new demo.
I tried to change some attributes like \CanStartSession\ or \RequireSession\ but with no success.
I understand that using \delphi style\ form creation evertything is ok, but I am not in this use case; I have to open external URLs and keep the user session.
2019-08-05T10:53:23
The session MUST change only if I open a new tab or a new browser window. This is ok. But in the same tab, even if I use THandlers.Add or SetUrl(), then the session must remain the same...