Jump to content

User session


artem_niko

Recommended Posts

Good day!
I would like to be explained to me about the user session when connecting.
The fact is that I have authorization in the project through a password on the UniLoginForm form, which also connects to the Firebird database server (using the login and password created for the user on the server).
In the same place, in this form, I have the password of the user who has just logged in, is entered into a variable of the PWideChar type, since the password is needed later for the user to work further when working with procedures through a DLL. But, at some point I have an error, the essence of which, according to the debugger, is that "the wrong username or password."
In this regard, I have questions:
1. Did I understand correctly that the MainModule for each session is unique for the logged in user?
2. Where can I place a variable that stores a password so that it is accessible only to the user who has logged in and has just connected? To others who are logged in, they work with their password.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...