Sessions

Please I need help… I can’t seem to understand how session variables work in wappler… I have a login form that redirects to a dashboard page but I don’t know how to reveal the identity let’s say (username) of the logged in user…
I am new here and any help would be much appreciated thanks.

1 Like

Hi Simon.

Welcome to the forum!

Luckily this has been covered several times here, so if you perform a search you’ll find lots of examples.

I just don’t know how I can retrieve the login username of a particular user in my dashboard page :disappointed::disappointed::disappointed:… I still don’t get the session variables explained in the doc because it didn’t specify output as in my case (username of a logged in user)

Go through this tutorial if you haven’t already. It should give you all the info you need.

1 Like

Please check our docs:

1 Like

And here:

1 Like

Thanks soo much that worked out… I really have zero knowledge on php sessions… I would try to research on how it works

1 Like

Hello