Pawson, David wrote:

Which then raises the question, do I (can I) check that a user
has cookies enabled?
HttpSession sess = request.getSession(true);
if( sess.isNew() )
logger.info("<p>New Session</p>");
else
logger.info("<p>Existing Session</p>");




Hi,

check the API. You can probably use:
request.|*isRequestedSessionIdFromCookie <http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#isRequestedSessionIdFromCookie%28%29>*()



HTH Christoph |

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to