As a programmer ,How can we know whether cookies are accepted or not accepted by the browser .
Save India From Corruption - Anna Hazare.
posted 7 years ago
On the first page accessed by the user (a.jsp), set a cookie and do a client-side redirect to another page (b.jsp). If the browser rejected the cookie, it won't be there when the server processes b.jsp.
Note that you can instruct the servlet container to use URL rewriting instead for the session cookie (in case that's what you're wondering about).