Retain dropdown value
We have a dropdown (sourced from a data page) on user portal homepage (in class Data-Portal). We have a requirement that when a user selects a value in the dropdown, this value has to be retained even when that user logs off and logs in back to the portal, or if he uses some other functionality in the application and comes back to this dropdown.
We can achieve this by saving this value in some database table on change of this dropdown. But is there a better way to achieve this?