Hi,

i'm trying to set a cookie in a servlet, get no errors but the cookie is invisible to my web browser.

it's quite simple but it does not work for me:

      Cookie cookieFileDownload = new Cookie("fileDownload", "true");
      cookieFileDownload.setPath("/");
      cookieFileDownload.setMaxAge(60*60*24);

      response.addCookie(cookieFileDownload);

Is there anything whichs needs to be configured in jetty? i have a quite simple configuration and everything else is running fine.

Regards
walter

may be i'm just blind :(
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to