• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I get HttpSession object without using Request object?

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I get HttpSession object without using Request object?
Is there a way to do this?
Thanks.
 
Mark Howard
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm, I don't think so. A session is by nature associated with a request from a specific user, so I guess it makes sense that it can only be retrieved via a request object.
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark is correct!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!