Hi everyone, I am implementing an http server with twisted.web. Here comes the problem: there is a login operation; after that, I want the http server to remember each client using acookie/session, until the user closes the browser.
I've read the twisted.web document, but I can't figure out how to do this. I know the request object has a function named getSession(), then a session object will be returned. What next? How do I store the information during the several requests?
I also searched the twisted mail list; there nothing very helpful, and I am still confused. If someone used this before, please explain this to me, or even put some code here, so I can understand it myself. Thank you very much!