i have a condition where if current user is logged in then then activity group is invisible and auth group should be visible
BUT when no user is logged in activity group is visible
when i checked debugger it showed a user with unique id, i searched in db and that user was not found in db so how come a user is created automatically ??
if you see that when current user isnt logged in this element is not visible
and again if current user is idle is yes this element is visible
In the app if a user is logged in then only he is idle
The manual States - āAs soon as a Bubble app is opened in a browser, a user session is created. If a user already logged in and hasnāt cleared cookies, the session will be using the same user as before, but in the case of a fresh session (without a logged in user), a temporary user will be created. This user will be marked as ānot logged inā (in other words, āCurrent user isnāt logged inā will return yes).ā
But as you can see the screenshot I am getting - current user isnāt logged in as no !
Someone can correct me if Iām wrong, but I am pretty sure your screen shot is showing that the Current User isnāt logged in is true. Thatās why it is green. The visible is ānoā is your condition that you put on it.
Is that what you are trying to confirm?
Also, I might be wrong, but Iām pretty sure that if you have cookies on by default, it will create a user for any user that isnāt logged into your site. I think @sudsy confirmed this in his link.
No, itās actually the opposite. (Unfortunately, Bubbleās UI is not as āfriendlyā as it could be.) What the debugger is showing is that the condition is true - i.e. current user is not logged in. The ānoā is referring to element visibility. Basically, you must read the debugger as rows - not columns. Thatās what @J805 is pointing out.