|
<< Click to Display Table of Contents >> Navigation: Telegram > 2021 > 03 > 27 > Telegram_2021-03-27T20 |
2021-03-27T20:24:52
just passing params as I don't want to start a new session. I did some debugging and it seems my current code base is interfering, somehow, with the session.
When type: bold TIWServerSession.GetSession is executed after my type: code aReply.SendRedirect , on the old code base, the session is fine, but executing the new code base, the session is expired and it is executing the lines below and I don't get the new URL params.
type: code xExpiredRunParams := gSessions.GetExpiredRunParams(aSessionID, True);
trying to understand what could cause this interference. The code base being executed is basically the same. I did some diffs and no major changes that could cause this, I think. I even disabled my Templates, as the new code base is using Bootstrap, but still the same behavior. I compared both ServerControllers and UseSessions, but no significant diff.
2021-03-27T20:26:44
I'm using SendRedirect because I don't want to add too much coupling in my code base, but probably will end up doing that for now.
2021-03-27T20:27:51
I guess my app is interfering with something related to this line of code
type: code xApp := gSessions.LookUpAndLock(aSessionID, xExpired, xAlreadyLocked, gSC.LockSessionTimeout);