We are using Netscape Enterprise Server with IBM WebSphere Application Server 3.0.2.
If we don't put our cookies in servlets, then session is created and we get two client
cookies. Simple code used and client cookies
created are:
HttpSession session = request.getSession(true);
session.putValue("name", "netTest");
ssuid: 2wFD4w00jJo0003Aejh8bte1u8 (NES cookie)
sesessionid: ORQ2WEYAAAABMCQKM2JZLWA (WebSphere Cookie to track sessions)
When we introduce our cookies in our servlets, the session is not getting created.
Simple code used and client cookies created are:
HttpSession session = request.getSession(true);
session.putValue("name", "netTest");
Cookie testCookie = new Cookie("testCookie", "I am Cookie!");
response.addCookie(testCookie);
testCookie: I am Cookie! (our cookie)
ssuid: 2wFD4w00jJo0003Aejh8bte1u8 (NES cookie)
I don't understand why we are not getting sesessionid(websphere cookie), when we
introduce our cookies!
Thanks in advance.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets