posted 23 years ago
...so if you (padmanabh) do not get any cookies when you call the method getCookies(), then there are not any that you previously sent.
Well, almost.
The servlet API allows you to sate
myCookie.setDomain("........");
That domain could be any domain. So theoretically you could send a cookie from a domain so that ANOTHER domain may read it. Unless you have Netscape 4.x (and I hope 6.x) where you can choose the option "Accept only cookies that get sent back to the originating server".
Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD