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