Using Session Variables


#1

In Server Connect you can define, use and re-use Session Variables. Once you define your session variables, they become available to choose in the dynamic data picker.

Defining a session variable is easy. In your server action, under Globals you will find $_Session:

Right click it, and add Variable:

Screenshot_67

Then add a name for this variable- this is your session variable name:

Screenshot_68

This can also be an existing session, created in some other script which you want to use in your server actions.
After you define it, the session becomes available in the dynamic data picker dialog, so you can use it wherever you need its value:


WapplerPrevious   WapplerNext



Passing results from query to variables for use on many other pages
Server Connect Introduction
Logged User Session Name
Wappler vs Wordpress, Joomla, Drupal
Wappler Official Documentation
#2

What are the uses of session array?

And how can I check if value available within the array?