Cookie for portlets?

Cookie for portlets?

Hi,
Can someone point me to some sample code for using a cookie to store
the state of portlets?
example:
http://dukey.gdd.net
login/pass is guest/guest
I'd like to store the state of the portlets on that page when a user
rearranges the boxes.
--
______________________________________________________________
Clayton Dukes
______________________________________________________________
--