PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → [WB20] Reset timer of the server site connection
[WB20] Reset timer of the server site connection
Débuté par ARV, 04 mai 2018 21:29 - 2 réponses
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 04 mai 2018 - 21:29
Hi

I want to reset the timer of the server connection or extended but by my site (my program) what I mean?

well I have a code on the event "on click" on my page I use that event to reset the timer of my browser to show a message to the user that he or she need to do some activitys or the web are going to close, then if the user click wherever he likes I reset that timer of the server connection or extended just that the session keeps alive.

Theres a way to do such a thing? or I need that the user click on a button and then extend that timer connection.
I don't like that way because the user don't click on a button always so... is it possible to do my idea?

thanks
Best regards,
Jose
Posté le 06 mai 2018 - 02:08
José, what I´ve done is keep the session alive from the moment the users log on
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 07 mai 2018 - 17:05
Hi Diego

I was talking about when the user let the page alone and he doesn't do nothing for a time, but I solve it I guess
The thing I do it's when a timer for a browser reach some time before the time session end I show a message then in that message when the user do a click the timer of the server will be extend and the timer of the browser it will reset and everyting will be like when the user log in.

thanks for your reply Diego!
Best regards
Jose