A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 16, 2002
Sep 02, 2002 21:39:00
Hi Guys !!!
Was not sure whether session variables are thread safe since, each user has his own session variables ??? Pls do let me know.
Sun Certified Java Programmer<br />Sun Certified Web Component Developer
Author and all-around good cowpoke
Joined: Mar 22, 2000
Sep 03, 2002 13:28:00
Session variables are NOT inherently protected from being accessed by multiple Threads since a given user/browser may be running many requests from the same web application at the seme time.
For example, frames, requests for images, etc.
Java Resources at
I agree. Here's the link:
subject: Thread Safety
what r thread safe variables
Thread safe servlets
Thread Safe Objects
Mock Question about thread-safe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014