I've recently refreshed my knowledge regarding session tracking.
Upon reading the corresponding chapter in Sun's Java Tutorial,
I've found the following note:

"To properly maintain the session, you must call getSession
before any output is written to the response. (If you respond
using a Writer, then you must call getSession before accessing
the Writer, not just before sending any response data.)"

Can somebody explain why this is a requirement?

Heinz Wehner
(Karlsruhe, Germany)

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to