开发者

Design a session manager

开发者 https://www.devze.com 2023-03-16 21:46 出处:网络
Do we have a spec standard for designing a session manager? IMO, these are what a session should process:

Do we have a spec standard for designing a session manager? IMO, these are what a session should process:

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

Do we have some good example of a session manager?

0

精彩评论

暂无评论...
验证码 换一张
取 消