We ran into a scenario where a community (Salesforce Tabs + Visualforce) user opens multiple tabs and is logged out on one tab. When the user goes to another open tab and performs an action on a Visualforce page via RemoteAction, it is being carried under the Site/Community Guest User account.
- The Guest User doesn't have permission to the Visualforce page, but it is set as Site Active Home Page. I'm not sure if that is somehow giving the guest user access.
- The Guest User doesn't have permission to create records for that object. At profile level permissions it shows as 'No Access'. But still able to create records. There are no permission settings assigned.
- Is there any way to redirect the user to login page on all open tabs after logging out on one tab?