----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Another possible issue is the 2KB limit imposed by most browsers on cookies.
Kevin
Henner Zeller wrote:
> Hi,
> | out.write("<option value='YUNSA'>YÜNSA</option>");
> |
> | After a special time of option value
> | response.addCookie(key, value) doesn't work.
> You've to send cookies before any output to the output stream since
> cookies are given in the response header, and thus, no body data should
> be written before. The fact that you may generate some output and it still
> works is a buffer issue, but the only save way to set cookies is to do it
> _before_ any servlet generated output (Maybe you've to buffer your output
> in a StringBuffer, or better, a ByteArrayOutputStream).
>
> Hope this helps,
> -hen
--
Kevin L McWhirter, Software Engineer
Magellan Software, Inc.
8717 Research Drive, Irvine, CA 92618
+1 949 784 8000 [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]