Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Towards a Standard for Django Session Messages. I completely agree that Django’s user.message_set (which I helped design) is unfit for purpose, but I don’t think sessions are the right solution for messages sent to users. A signed cookie containing either the full message or a key referencing the message body on the server is a much more generally useful solution as it avoids the need for a round trip to a persistent store entirely.

Tagged , , , , , ,

1 comment

  1. indeed, I never use the message_set function cause it is a little bit wierd to me.

    墨尔本 - 20th June 2009 03:36 - #

Comments are closed.
A django site