That folder is often cleared and thus, as the name suggests, temporary files should be there only. Config is not quite temporary.
I would recommend changing:
global iniFilePath := % Format("{1}/{2}.ini", A_Temp, A_ScriptName)
to for example:
global iniFilePath := % Format("{1}/{2}.ini", A_ScriptDir, A_ScriptName)
which would place the ini right next to the script.
Another idea would be to place it where configs usually go in Windows, so a new folder in %APPDATA%:
global iniFilePath := % Format("{1}/{2}/{2}.ini", A_AppData, A_ScriptName)
That folder is often cleared and thus, as the name suggests, temporary files should be there only. Config is not quite temporary.
I would recommend changing:
to for example:
which would place the ini right next to the script.
Another idea would be to place it where configs usually go in Windows, so a new folder in
%APPDATA%: