开发者

Design a session manager

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜