Click to See Complete Forum and Search --> : HttpServletRequest.getCookies() problem


Oktopus
September 10th, 2009, 08:42 AM
Hi gurus,

I use cookies of a HttpServletRequest in a HttpServlet's doPost(...) function, e.g.


Cookie[] cookies = request.getCookies();


My servlet is running on a PC, where once Sophos Antivirus was installed. Then Sophos was deinstalled.
Now the above request.getCookies() function returns null, when an applet from a remote PC connects to the servlet.
Locally, i.e. with 'http://localhost/...', request.getCookies() does return cookies.

Can someone tell me what is wrong, or how cookies are blocked when connecting from a remote PC?

Many thanks,
Oktopus