I did what you said i download the extensions for firefox, so it seems the restlet filter send back a cookie to my browser. I m not at my office desk so i cannot show you the message, but i will on monday, but the cookie it is send.
Could you tell me if some issue exist with firefox or IE ?? I said a mistake, i can't get any cookie from the request ( request.getCookies()) but the function doesn't return a null list but a empty list, even i have some cookies which exists.... I will post the reponse on monday the reponse i get with http header extension... Somebody test the cookie feature in a tomcat container ??? (developper , user ) Thanks for the reply. Regis 2007/8/17, Alex Milowski <[EMAIL PROTECTED]>: > > On 8/17/07, Regis Leray <[EMAIL PROTECTED]> wrote: > > private Cookie hasCookie(Request request) { > > > > List<Cookie> cookies = request.getCookies(); //always NULL > > The getCookies() call should not return a null value. > > <snip/> > > > > > About my environment all of this it is run in a tomcat container, and i > use > > the restlet version 1.0.4. > > There could be an environment issue. Have you tried running your > application > outside of Tomcat using the Simple or Jetty connectors? > > Have you checked the return headers using the LiveHttpHeaders [1] or > my Poster [2] > extension for Firefox to see if the Set-Cookie header is there? > > [1] https://addons.mozilla.org/en-US/firefox/addon/3829 > [2] https://addons.mozilla.org/en-US/firefox/addon/2691 > > --Alex Milowski > -- Regis LERAY 1214, rue Bishop Canada, Montreal (Qc) H3G 2E3 Cel: (514) 699 1000