• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt regarding session attributes

 
Prasad Shindikar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which statements about session attributes are true ?

Attributes bound into a session are available to any other servlet that belongs to the the same ServletContext.

I dont agree with this statement. I think it should be "Attributes bound into a session are available to any other servlet that belongs to the the same ServletContext and same Session."

or

"Attributes bound into a session are available to any other servlet that belongs to the the same Session."

HFJS Page 267 question 7

Please explain.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that you're right.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic