1 JSP->cookie löschen 4. Juni 2007, 15:00 Hallo alle zusammen, weist jemand wie löscht man die cookie in JSP? Danke im voraus
2 4. Juni 2007, 16:06 Moin z.B. so Quellcode <% Cookie killMyCookie = new Cookie("mycookie", null); killMyCookie.setMaxAge(0); killMyCookie.setPath("/"); response.addCookie(killMyCookie); %> Ubuntu Edgy * Kernel 2.6.17 * Gnome 2.16 * Beryl 2 x Athlon MP 1900 * MSI K7D Master-L * 1024 MB ECC DDR333 Hercules 9800XT 256 MB Ram * 1x 250 GB IDE Wasserkühlung
3 5. Juni 2007, 07:57 danke! Mit dem Pfad ist noch nicht ganz klar - der Pfad muss ich von dem Cookie nehmen?