Remember last used session
However, I have the impression that this value is saved to Windows registry only when you close the program. If you spend a while working with HeidiSQL and switching sessions you always get as default the last database session (even if you haven't connected to it a single time since you launched HeidiSQL).
May I suggest to enhance this? Not fully sure of the best algorithm but storing the value when you open a session looks like a good start.
Assuming you start instance #i1, connected to session #s1 and #s2. Now, start another instance, we call it #i2, and connect there to #s3 only. When you close #i2, and #i1 is still running, we need to save the last sessions when closing #i1, otherwise #i2 with its #s3 would win. So, saving at application exit is still valid, but I guess I just need to store the remembered sessions also when connecting and disconnecting.
Another possibility would be to store sessions when you start and when you close them but that'd be more complicate because you don't necessarily close them one by one using the "Disconnect" button, you can simply close HeidiSQL while several options are open. But I think it's a good option too.
(BTW, the "Disconnect" button does not have a tooltip.)
Store last sessions also when connecting to an additional session, not only when closing the program. See http://www.heidisql.com/forum.php?t=12149
Please login to leave a reply, or register at first.