How to retained selected values when the page is reloaded?

Hi, i am using select2 and I would like to retained the selected values when the page is reloaded.
Can you share your ideas on how will I do that or did you do that?