Session Front-End Functions

Here are the built-in functions implemented by the front end in the "session" module.

These front-end functions are used to dynamically set and get session variables from within your 4gl applications.

The names of front-end functions and pre-defined arguments are case-sensitive.

setvar

Sets a value to the session variable:

ui.Interface.frontCall("session","setvar", ["var_name", "value"], result)

var_name = name of the session variable

value = value to be assigned to the session variable

result = variable that holds results of the function execution (1 = success, 0 = error)

 LyciaDesktop: yes

 LyciaWeb: yes

getvar

Gets the value of the session variable:

ui.Interface.frontCall("session","getvar","var_name",result)

var_name = name of the session variable

result = variable that holds results of the function execution (1 = success, 0 = error)

 LyciaDesktop: yes

 LyciaWeb: yes

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.