Re: Session based messages without touching DB

2008-12-05 Thread Andre P LeBlanc
Sorry, I didn't notice that you said you didn't like the DB hits associated with the session based approach, you can use memcached sessions, or file-backed if avoid the database hits. :P On Dec 5, 12:33 pm, Andre P LeBlanc <[EMAIL PROTECTED]> wrote: > What about the patches on the ticket?  The

Re: Session based messages without touching DB

2008-12-05 Thread Andre P LeBlanc
What about the patches on the ticket? The cookie-based approach is not the right way to do it, as the comments on that page indicate, these things should be stored server side, especially since it is being unpickled serverside, it leave a larges security hole. (and the encryption he later added

Session based messages without touching DB

2008-12-05 Thread Thomas Guettler
Hi, I use code based on "session based messages" from: http://code.djangoproject.com/ticket/4604 What I don't like: There are two database hits, which are not necessary: Store message in session-pickle and pop message from session-pickle. I found this: