I have a form with 2 textboxes for the user to enter data into. One textbox holds a database name, the other holds a server name.

When the user fills in the info & clicks a submit button I want the info to be stored into a cookie.

Now the user may enter in several of each so the cookie will need to be appended. Each data item separated by a character such as '#'. I have no idea how to do this!

I imagine the resulting cookie would look something like this:

CookieName[]Databases[]database1#database2#database3[]Servers[]server1#server2#server3

ANY help here would be much appreciated!!!
~Piz