Regarding the reference Product list and review pa...
# suitecommerce
c
Regarding the reference Product list and review patch, can someone explain the difference between the functions isLoggedIn(), isLoggedIn2(), and isLoggedIn3()?
s
• isLoggedIn() is bugged on shopping domains and shouldn't be used • isLoggedIn2() was introduced to not break old sites • isLoggedIn3() was introduced when it was discovered 2 didn't work properly with elevated permissions
šŸ‘šŸ» 1
šŸ‘ 1
c
@Steve Goldberg Consider this scenario: a Vinson or Mont Blanc SCA website where isLoggedIn2() or isLoggedIn3() has not been applied. Will the website continue functioning with a potential security issue, or will the website not load?
Also, is "session.isLoggedIn3()" a function not within the SCA source code?
s
It is not a security issue that necessitated the change to isLoggedIn2() – it was that it did not work properly on secure shopping domains. You can see this in the patch notes for secure shopping domain for the old versions: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1492441269.html
So, isLoggedIn2() definitely works on old versions; I haven't tried using isLoggedin3() but I would be surprised if it didn't
c
Thank you for your detailed explanation.
netsuite halo 1