If i open any page of my site in a new tab ,the original tab and the new tab do not share session variables. What am i doing wrong? I’m worried as this is so important to the whole site logic.
I am using App connect only , not using Server Connect.
If i open any page of my site in a new tab ,the original tab and the new tab do not share session variables. What am i doing wrong? I’m worried as this is so important to the whole site logic.
I am using App connect only , not using Server Connect.
Browser sessions are not shared between tabs:
If you want to share data between tabs use local storage instead of session storage (browser sessions).
Could you please also tell me what is the difference between cookies and local storage? I’m storing email id, logged in status, orders , subscription validity, language preferences etc in session storage and i need to change to cookies / local storage so that the variables are shared between tabs.
Also the main content is on a subdomain (to retrict access to urls) and my wappler site is on my main domain. If i want to let subdomain have access to variables of main domain , then are cookies better or local storage?
How are you using logged in status when you say you are not using server connect?
I use the API Form to call my API (Azure Functions). If password matches , then my APi sends a session iD back in the response which i store in the session storage variable and i use this to keep user logged in