ZConnection User property value
Moderators: gto, cipto_kh, EgonHugeist
ZConnection User property value
After using the login prompt to connect to the database the value of User is blank why? It is blank even if I showed the User property onAfterConnect event.
Don't know the reason but I assume, the user property is used as some kind of default value for connecting silently and is not written back by manual login, cause this could cause some inconsistency:
in case you close the connection and reconnect user and password properties could be used to connect silently (without login prompt).
Maybe I'm totally wrong, since I've never used that login prompt. So I don't know if silent connection is even possible when login prompt property is set to true.
Was just brainstorming. :-)
in case you close the connection and reconnect user and password properties could be used to connect silently (without login prompt).
Maybe I'm totally wrong, since I've never used that login prompt. So I don't know if silent connection is even possible when login prompt property is set to true.
Was just brainstorming. :-)