Could you please explain it more clearly.. name the jsps a , b ,c and tell what is happening.. where do you call response .add cookie like this...sure we will solve the problem..
Saravanan . T. Consultant Kanbay Software ,India. 020-7691100 (ext - 511) -----Original Message----- From: Paul Stearman [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 4:56 PM To: [EMAIL PROTECTED] Subject: JSP cookie problem I am creating a site which almost entirely is made up of JSPs. On the loin page i want to write some information (use id, database connection id, etc) into a cookie. I am forwarding the page onto the next one using a javascript function which in turn calls window.location.href. (this is due to another problem but anyway!) As a result the response.addCookie command doesnt seem to do anything. I cant do a response.sendRedirect as it says the response is already committed. Any ideas? =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com This message and any attachment(s) is intended only for the use of the addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended addressee(s), you are hereby notified that any use, distribution, disclosure or copying of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachment(s) and notify the sender or Kanbay postmaster immediately. Any views expressed in this message are those of the individual sender. Although we have taken steps to ensure that this e-mail and any attachment(s) are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
