On Fri, 11 Jun 1999, Justin Lee wrote:
> We're having setting cookies from a servlet. We're using the addCookies
> method on the HttpServletResponse object and when we list all the
> cookies on the client when the servlet responds, the cookie isn't
> there. We're using Apache 1.3.6 and JServ 1.0b4 with Communicator 4.51
> on Linux. Does anyone know of any issues with this set up or is it
> something that we're doing wrong?
Are you using JSSI? If so, make sure you get the latest version of the
package (a notice was sent out in the last day or so) and read up on
servlet output buffering. You've got to buffer the output or else the
HTTP headers have already been written when your servlet gets called.
If you're not using JSSI, hopefully someone else will be able to help
you out.
Ed
--
Ed Watkeys [EMAIL PROTECTED]
Philosopher, Programmer, Antichrist http://poseur.com/
Poseur Interactive v:215/694-4201
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]