Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keep-alive forms don't work as expected
#3
(10-14-2024, 03:32 PM)joelcc Wrote: Are you setting the KeepAlive on the forms?   Do not get that mixed up with the httpKeepAlive property they are not the same.

When the forms KeepAlive is true then the form will send a ping multiple times during the sessiontimeout setting to make sure it keeps the form alive.

Because of this you will want to keep the sessiontimeout value fairly low.   We set ours to 10 min.   That way when the browser is closed the session will closeout after the 10 min mark and no ping is received.

You might search the user group for more explaination like this thread:  https://www.atozed.com/forums/archive/in...-1040.html

"we have setted all forms with the keep-alive true and lengthened the servercontroller sessiontimeout to 240 minutes. " That's the configuration we have made, but in some cases after an hour of user's no activity the session is restarted when the user wants to go back to the form and clicks on it but contrary of what we thought the session is effectively closed.

We first thought that the suspension mode on the pc could interfiere on the keep-alive requesting sends but it is not, because the suspending mode has been disabled and the client reports the same mistake. 



And yet another question: On the link https://www.atozed.com/2022/12/terminati...-sessions/ it says:

Quote:It's important to clarify that Intraweb has a thread that runs in the background - at 1 minute intervals- and does the clean up of all unused sessions,

If we look at the Intraweb session log viewer there are lot of sessions that should be expired but they don't, the messages are like this:

Created at: 14/10/2024 15:01:48
Destroyed at: The session was still active when this file was last written to.
Remote IP address: x95.xxx.5x.x6
Browser name: Chrome
Browser user agent string: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Duration:  19 hours 38 minutes 55 seconds
Request count: 41
Last Access: 14/10/2024 15:02:42
This session should be expired!

what does it mean? is the thread working or not? 

There's one more thing: if i leave the form without interaction for minutes begins the countdown timeout although it has the keep-alive setted to true.


thank you
Reply


Messages In This Thread
RE: Keep-alive forms don't work as expected - by Blanca80 - 10-15-2024, 08:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)