To clear the credentials after signing out, call the TUniConnection.Disconnect method, and then clear all the required connection settings. For example:
Code: Select all
DataModule2.UniConnection1.Disconnect;
DataModule2.UniConnection1.Username := '';
DataModule2.UniConnection1.Password := '';
DataModule2.UniConnection1.Database := '';
To avoid storing credentials in the registry for each UniDAC provider, set the TUniConnectDialog.StoreLogInfo property to False. More details about this:
https://www.devart.com/unidac/docs/?dev ... oginfo.htm
If your stored procedures hang, please compose a small sample to reproduce the issue and send it to us. In the sample, also include scripts to create stored procedures and the structure of tables that use these stored procedures.