I built a custom app with portal pages. Some of these pages are built using ‘Web Page’ and others by creating files in ‘www’ folder. User is getting logged out when they navigate to pages that are built in ‘www’ folder. Interestingly, the page is getting rendered i.e., all the data that needs permissions is being fetched without any problem. But once the page is rendered, user is getting logged out. (I got to know about session by looking at cookies and profile pic on right top corner is turning to ‘Login’ option)
This behavior isn’t consistent. Which is making it further hard to debug. It occurred more often in FireFox browser.
Also, users were getting logged out when they navigate to route that doesn’t exist. Any clue what could be the cause? Or, where I have to check for these scripts that are logging out the user?