With all the recent discussion here about "thread safety",
I am re-examining my own understanding. Are sessions linked
to threads or not? In other words, since the session contents are
volatile, does one need to synchronize the code:
HttpSession session = req.getSession(true);
synchronized(session) {
session.putValue("started", true);
}
---
Michael Stacey
Lexi-Comp, Inc.
1100 Terex Road
Hudson OH 44236
(330) 650-6506
___________________________________________________________________________
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