saving portlet preferences


I have made an portlet with an “Preferences” mode for the administrator (he have to make an sql connection to a data base and some further configurations.) Now he connects to the data base, makes some other configurations and adds some charts to the view mode (main portlet site). The problem is that after an relogg the configurations he made dissapear , that means that he have to do the configurations over and over again , and the stuff he adds to the view mode are not being saved either. any suggestions , links addons i can read/use ?

any help is greatly appreciated.

so nonoe is saving their portlet preferences ? i just need some guide links or something similar :-/

Check this link out:
How did you manage to make a Preferences tab?