Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread Safety

 
Sam Furtado
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys !!!
Was not sure whether session variables are thread safe since, each user has his own session variables ??? Pls do let me know.
Thanks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic