Design a session manager
Do we have a spec standard for designing a session manager? IMO, these are what a session should process:
- a unique id for each session should be assigned (session id);
- should be able to maintain attributes in the form of pairs;
- should be able to check the client's availability (for instance, the client exits);
- should be able to destroy a session;
- 开发者_Python百科anything more?
Do we have some good example of a session manager?
精彩评论