java - Design a session manager -


do have spec standard designing session manager? imo, these session should process:

  1. a unique id each session should assigned (session id);
  2. should able maintain attributes in form of pairs;
  3. should able check client's availability (for instance, client exits);
  4. should able destroy session;
  5. anything more?

do have example of session manager?


Comments