Keepalive with CBLogin

4 years 7 months ago #314417 by peter.kolinek
Keepalive with CBLogin was created by peter.kolinek
Hi all,

On pages where CBLogin is enabled, the keepalive.js script is loaded, which effectively breaks Joomla's session timeout. This happens also when user is logged on. When I disable CBLogin for some pages, keepalive.js is not loaded and such pages expire session as configured.

Is there some reason why CBLogin loads keepalive.js?

Can keepalive be configured or disabled for CBLogin?

Thanks for any hints.

Please Log in to join the conversation.

4 years 7 months ago - 4 years 7 months ago #314424 by krileon
Replied by krileon on topic Keepalive with CBLogin
It's supposed to be loaded by login modules. Joomlas will do the exact same thing. It keeps the session from expiring while the user is still using the site. No it can not be turned off. A users session is not supposed to expire while the user is using the site; why would you want that behavior? That would suddenly cause the user to logout while they're still browsing. Only way to remove that is to create a template override for your CB Login Module and remove it there as it's loaded in the modules template file.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.205 seconds

Facebook Twitter LinkedIn