Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Keep BM Session Alive" not working in latest BM release #11

Open
darrenkhouston opened this issue Jun 6, 2022 · 6 comments
Open

"Keep BM Session Alive" not working in latest BM release #11

darrenkhouston opened this issue Jun 6, 2022 · 6 comments

Comments

@darrenkhouston
Copy link

The "Keep BM Session Alive" feature doesn't seem to be working in the latest release of SFCC version 22.5.

Makes me log back in every 15 minutes, tested in Firefox and in Edge.

@amezick
Copy link

amezick commented Jun 29, 2022

I can confirm this is happening in 22.6.

@onurorhon
Copy link

This is still broken, at least in Firefox for me.

@danieldudin
Copy link
Contributor

Hello! The issue is kind of related to the background process (memory saving) suspension mechanisms in the browsers, if the tab is suspended/becomes inactive then no JS is executed in the page, hence the AJAX call that is supposed to renew the session is not executing anymore. This causes the session to expire and the said issue is completely expected.
In addition, we have not made any changes to the implementation in the past versions.

@cwang-loreal
Copy link

cwang-loreal commented Feb 15, 2024 via email

@danieldudin
Copy link
Contributor

Hello, @cwang-loreal You can try the following settings:

Chrome:

Navigate to chrome://settings/performance
Go to setting: Always keep these sites active
Click "Add", to add the SFCC domains which you want to keep active

Firefox:

Navigate to: about:config
Search for: browser.tabs.unloadOnLowMemory
Set the value of the setting to: false

Please keep in mind that this is not recommended and it might worsen your performance while in other pages.

Hope that helps!
Cheers!

@danieldudin danieldudin reopened this Feb 15, 2024
@danieldudin
Copy link
Contributor

Re-opening since we found an actual issue with the keep session alive logic on the Firefox browser, we will soon provide an update and most likely an upcoming hotfix will be in the way at some point. Thanks a lot for your reports!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants