----------------------------------------------------------------
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!!!
----------------------------------------------------------------

On:
Solaris 2.6
Apache 1.3.12
Java JSDK 2.0, JDK 1.1

I cannot send a cookie! The servlet code I am using is simple, and copied
from a webpage:

import javax.servlet.*;
import javax.servlet.http.*;


public class Cookies extends HttpServlet
{
                int count = 0;


        public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, java.io.IOException {


                String credentials = "";
                Cookie authCookie = new Cookie("xyz-Auth", credentials);
                authCookie.setVersion(1);
                authCookie.setDomain(".tulane.edu");
                authCookie.setMaxAge(3600);
                resp.addCookie(authCookie);


Other servlets work on the server (SimpleCounter, OutputHTML, etc.). Before
I send all of the configuration information, what config. values should I
double check?

Thanks,
puzzled



--
--------------------------------------------------------------
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]

Reply via email to