Save data for temporary user into database

Hi @ria !
I understand where your coming from with that question, I had the same problem so I created a plugin to help with this!

The plugin is called “Global Variables” and it allows you to save a variable (can be an ID for example) on the users browser (essentially it’s a cookie).

What I would recommend you do is:

  1. Create a thing called “Temp User”
  2. On Page Loaded create a new TempUser only when Global Variable (lets call it TempUserID) is empty
  3. Set the Global Variable TempUserID to the uniqueID of the thing you created in the step before

And there you have it, now the user is “logged in” because you have a way to iddentify him reading that variable (TempUserID) and matching it to the Temp User record you have created.

Here’s the link to the plugin:

Here’s the link to the forum post I created about the plugin:

Try it on my website:
jpdom.bubbleapps.io

Please tell me if you need further help and I’ll be happy to oblige.

Nice Bubbling :smiley:

1 Like