Re: How to restore sessions after restart app?
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <20111107135320.17986.1760993359.divmod.xquotient.363@localhost.localdomain> |
On 5 Nov, 04:09 am, [email protected] wrote: >After restart twisted.web.server.Site all sessions lost, how it >restore? Twisted Web doesn't support persistent sessions out of the box. You could try to implement them by overriding the session storage implementation on the Site object. See `Site.makeSession`, `Site.getSession`, and the `Site.sessions` dictionary. Jean-Paul