Valentino Volonghi aka Dialtone ha scritto: > On Thu, 20 Jul 2006 18:59:32 -0200, Manlio Perillo > <[EMAIL PROTECTED]> wrote: >> It is by no way a complete and good documentation! >> It needs a lot of feedback, but using only the mailing list for >> discussion is no good. > > I disagree. The mailing list instead is a good place to have the > feedback and the bugtracker is a good place for patches. >
Maybe I should make this more clear! For now this documents I'm writing are only: - placeholders - containers for put in everything I found on the archive of this mailing list - containers for put in my doubts So, I think that this, for now, should have nothing to do with the standard documentation. > IMHO that session document is not very good :/. The reason is the fact > that it uses the session to store information. > > While this is not especially bad it has a drawback. It stores state in > something that is not persistent nor shared between the servers that > might exist in your farm. > Yes, this should be explained in the document, thanks. > User data or preferences or whatever should be stored in the database or > in another persistent mechanism. > Of course! For now I simply want to describe how to use Twisted sessions. > All unless you use a stateful loadbalancer which would allow to store > stuff in the session (although that wouldn't still work with persistent > sessions). > >> Moreover I still have to use sessions in my application, so I can not >> test a real working application; for now it is like a placeholder. > > Sessions are actually only an implementation detail of the web and > shouldn't be exposed in any way to the developer or the user. I say > shouldn't because there might be usecases where it is actually needed As an example a counter on the number of failed logins. > although the general case should even come close to know that there are > sessions. > I whould like to explain every thing, adding usecases and explaining benefits and problems. Regards Manlio Perillo _______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
