Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is it safe to put objects in HttpRequest(for a cluster environment)

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In clustered environment, is it safe to put object in HttpRequest ? Should we always put them in HttpSession if it is a clustered environment ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What basis do you have for wondering why request scope might not be "safe"?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since a request only lasts the duration of a 'request', it shouldn't matter if you're in a clustered environment.
The machine that recieves the request will be the one making the response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic