AW: Antwort: Re: Apache2 + Tomcat4.1.10 + coyote + jk2 + cookies + winNT

2002-09-17 Thread Ralph Einfeldt

To add a header you have to use res.addHeader(). 

From the the Servlet Spec 2.3:

...setHeader ... a previous header is replaced by 
the new header. Where a set of header values exist 
for the name, the values are cleared and replaced 
with the new value...

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 16. September 2002 17:52
 An: Tomcat Users List
 Cc: [EMAIL PROTECTED]
 Betreff: Antwort: Re: Apache2 + Tomcat4.1.10 + coyote + jk2 + 
 cookies + winNT
 
 res.setHeader(Set-Cookie,KIB=a03056; Domain=.sk-koeln.de; Path=/);
 res.setHeader(Set-Cookie,FStatus=a03056; Domain=.sk-koeln.de; Path=/);
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Antwort: AW: Antwort: Re: Apache2 + Tomcat4.1.10 + coyote + jk2 + cookies+ winNT

2002-09-17 Thread Oliver . Lauer


Yes, meanwhile I know, too - little mistake...but even if I use addHeader()
only the last cookie will be used - seems to be da damned bug :-)


--

Oliver Lauer
Stadtsparkasse Köln
512 / BK / Anwendungsentwicklung
Telefon: (0221) 226 - 5562
Fax: (0221) 226 - 5100
mailto:[EMAIL PROTECTED]
http://www.sk-koeln.de

Ralph Einfeldt [EMAIL PROTECTED] schrieb am 17.09.2002
10:03:20:

 To add a header you have to use res.addHeader().

 From the the Servlet Spec 2.3:

 ...setHeader ... a previous header is replaced by
 the new header. Where a set of header values exist
 for the name, the values are cleared and replaced
 with the new value...

  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Gesendet: Montag, 16. September 2002 17:52
  An: Tomcat Users List
  Cc: [EMAIL PROTECTED]
  Betreff: Antwort: Re: Apache2 + Tomcat4.1.10 + coyote + jk2 +
  cookies + winNT
 
  res.setHeader(Set-Cookie,KIB=a03056; Domain=.sk-koeln.de; Path=/);
  res.setHeader(Set-Cookie,FStatus=a03056; Domain=.sk-koeln.de;
Path=/);
 

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


Da E-Mails leicht unter fremdem Namen erstellt oder manipuliert werden
koennen, muessen wir zu Ihrem und unserem Schutz die rechtliche
Verbindlichkeit der vorstehenden Erklaerungen ausschliessen. Die fuer die
Stadtsparkasse Koeln geltenden Regeln ueber die Verbindlichkeit von
rechtsgeschaeftlichen Erklaerungen mit verpflichtendem Inhalt bleiben
unberuehrt.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]