function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Suresh(Suri)Suresh(Suri) 

Visualforce Select list value store in cookies

Hi,
Am displaying all record acountnumbers with picklist in vf page.
My requirement is when a user come into this page and select any accountnumber.
So i need to store that value and display same account number for next time login.
Can any one suggest how to do this using Cookies?
Thanks.
Christopher Pryor 8Christopher Pryor 8
Suresh,
I realize this posting is older, but might I recommend that you look into using Custom Settings of type Heriarchy?  This will allow you to save the value by User within settings on Salesforce instead of relying on cookies.  The benifits of doing this over cookies can be:
1)  You can use them for Salesforce1 applications.
2)  The information is not local so it is available from any computer.
3)  If for some reason you need to clear it out for a given user you now have control at an admin level.