A
Andrea Desole
A usual way to check if the browser supports cookies is to set a cookie
(using either JavaScript or server side Java code), and then to check
that a cookie is set. However, an application server is supposed to do
the same check, since it has to decide if the session id has to be
stored in a cookie or as a request parameter in the url.
Since the application server doesn't add any JavaScript to the page, the
only way would be to set a cookie when the first page is loaded,
redirect to a second page, and check on the second page that the cookie
is there. That looks unlikely.
I would be curious to know how an application server solves this
problem. I found nothing in the W3C specs that gives me a hint.
Anyone has an idea?
(using either JavaScript or server side Java code), and then to check
that a cookie is set. However, an application server is supposed to do
the same check, since it has to decide if the session id has to be
stored in a cookie or as a request parameter in the url.
Since the application server doesn't add any JavaScript to the page, the
only way would be to set a cookie when the first page is loaded,
redirect to a second page, and check on the second page that the cookie
is there. That looks unlikely.
I would be curious to know how an application server solves this
problem. I found nothing in the W3C specs that gives me a hint.
Anyone has an idea?