I'd like to suggest / request that Nokia phones and SDK implement support for multiple Set-Cookie headers in J2ME. That is, more than one Set-Cookie header in a single http response.

For example, take this valid HTTP response

HTTP/1.1 200 OK
Date: Wed, 20 Sep 2006 18:26:38 GMT
Server: Apache
X-Powered-By: PHP/4.3.11
Set-Cookie: cooki1=mycookie1
Set-Cookie: cooki2=mycookie2
Content-Length: 1786
Connection: close
Content-Type: text/html; charset=ISO-8859-1

On a nokia device, there is no way to access cooki1 - you can only get to the second (or last) one.

It does work correctly on devices from other vendor. (motorola, samsung, lg, blackberry)

A couple of other references to this problem: