Session Save Location?

[expired user #4612]'s profile image [expired user #4612] posted 14 years ago in General Permalink
Where are the Sessions for HeidiSQL saved in Windows? I would like to Sync my session settings across computers, but cannot find the data folder for them.

Help?
ansgar's profile image ansgar posted 14 years ago Permalink
See here
[expired user #4612]'s profile image [expired user #4612] posted 14 years ago Permalink
Oh wow, no wonder why I couldn't find them in %appdata%...

Why the registry? Why not have configuration files? This won't allow me to sync at all.
ansgar's profile image ansgar posted 14 years ago Permalink
Registry seems easier to access within Delphi applications. And there were no users complaining about registry, 10 years ago happy
[expired user #4612]'s profile image [expired user #4612] posted 14 years ago Permalink
Feature Request Then! smile
ansgar's profile image ansgar posted 14 years ago Permalink
Hell, is it really 10 years old? Seems so... the oldest mail regarding old MySQL-Front 1.x is from August 2000. Ok, I have to admit there was a 2-year pause somewhere between 2003 and 2006.

HeidiSQL.com was registered on April 05, 2006.
ansgar's profile image ansgar posted 14 years ago Permalink
That was issue #386, which was open for 3 years before I closed it with status "WontFix" 2 months ago. Just too much work for minor advantage I think.
[expired user #4612]'s profile image [expired user #4612] posted 14 years ago Permalink
What a shame :(
[expired user #7654]'s profile image [expired user #7654] posted 10 years ago Permalink
4 years later, and I REALLY think that feature should be implemented. Just formatted my computer, copied everything except for the Windows-folder, thinking "I have it all".

But no, since the registrey files are in the win-folder, my backup did not get the session list, and thus, I lost it all.

It must be a matter of 30 minutes to write the list in an xml-file than to the registry?
ansgar's profile image ansgar posted 10 years ago Permalink
You should have exported your sessions and settings with HeidiSQL. There are nice export and import functions, in the "File" main menu.

I already decided against XML, and for registry, which is quite a wide-spread approach in Windows applications.
kalvaro's profile image kalvaro posted 10 years ago Permalink
I don't think it's a matter of how many time it takes to implement.

If HeidiSQL uses XML then some other user will complain because he made a backup copy of the Windows registry just to find out HeidiSQL settings were not there. Or he'll complaint because he only copied "Program files" and sessions were in "C:\Users\Jimmy\AppData\Roaming". Or he'll edit the XML file and break it.

The only way to make user data survive a hard disk format is cloud storage. And even then you can lose your username and password.
[expired user #8123]'s profile image [expired user #8123] posted 10 years ago Permalink
With all due respect, but 'most Windows applications' do not use the registry anymore for data like this - the registry is only used for certain settings which possibly don't need to be ported or synched.

Usually the folder %%APPDATA/Roaming/<application name> is used for session data like this. At least 90% of the other applications that I just ported from one PC to another worked like this. Hell, even Linux applications store information like this in a local hidden file in the user folder.

Please login to leave a reply, or register at first.