[thelist] ASP cookies

Michael Robertson mike at mikeemedia.com
Thu Sep 19 13:40:01 CDT 2002

[ Picked text/plain from multipart/alternative ]
In ASP how can I create a cookie of that will be able to add email addresses to over a period of time and then retrieve them to make a list of each.
The idea is when a user puts an email address in a form the cookie remembers the address. In this application the user would return to the form often and be using multiple addresses over time. The cookie could contain 0 or 50 addresses I won;t know.

Then I want to take the cookie and make a list of addresses so the user can select one to populate the form rather than typing it out.

I'm familiar with cookies, but I'm a little stuck on this one. Any suggestions? I can create a cookie but I'm not sure how to add to it without deleting the old. I can add keys but how would I name an unknown key? Is there a way to check the length when retrieving the cookie? Thanks

More information about the thelist mailing list