Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

some simple questions about session

 
alsoumahi alBatal
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys , I am having two simple questions about session

the first is that the increase number of sessions is bad attitude to do so in application ? , does it lead later to crash the system .

second is that let's assume there is system using many session to make system work properly , my question here is the concurrent access to the system does lead to crash it
or does it lead to let one user use another session which is not his session

thanks a lot
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

the first is that the increase number of sessions is bad attitude to do so in application ? , does it lead later to crash the system

The increased number of any object in an application is potentially a bad thing - resources are finite after all. But then introducing more resources (though multiple Servlet containers) is relatively straight forward. And after all, if you worry about the number of instances of a particular object your application may use overly you'd probably never write anything.


second is that let's assume there is system using many session to make system work properly , my question here is the concurrent access to the system does lead to crash it
or does it lead to let one user use another session which is not his session

No - client's have access to their session only. That access needs to be threadsafe however.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic