Logged User Session Name


#1

When you setup a log in system, a session is being created by the log in script and it contains the logged user identity. This session and its value can be accessed by any other script by calling it (in your scripts).

The name of session storing logged in user identity depends on your security provider name. It’s name is:
securityProviderName + Id so if your security provider is called siteSecurity like here:

Then the session name will be: siteSecurityId

So, for example in your custom PHP script you’ll be referring to it like: $_SESSION['siteSecurityId']
The same is valid for the other server models.


WapplerPrevious   WapplerNext



How to conditionally show content if user is logged in
Dynamic Attribute: Show no longer works
Getting Details of the Logged In User and Binding them to your page
Security and Login
How to get the logged in user info
Wappler Official Documentation
Passing results from query to variables for use on many other pages