declaring a variable for a session
Hi
I am trying to declare a variable that could be used and accessed for a lifetime of a login session.
The reason is I will need to receive a token from another system for every time a user needs to access the application. After each login, the system will ask for the token number, the token number will remain in a variable for the lifetime of the login session. All the transactions on all forms will be saved with this token number. I need to have a variable in the app to keep this token number. Any time a record is going to be saved in the database, I will read the token nr form the variable, this token number will be also updated in the record and then the entire record along with token number will be saved in the database.
Please advise
regards,
Hossein