I would definitely say it needs to be configurable then at the least.
As using cookies to send messges is fine if you guarantee the entity
is removed onthe next hit. Otherwise it becomes a performance issue
storing them for longer periods of time.

While I don't think that is common it should definitely be a factor in
the decision.

Sent from my iPhone

On Oct 12, 2009, at 9:39 AM, Tobias McNulty <tob...@caktusgroup.com>
wrote:

>
> On Mon, Oct 12, 2009 at 10:21 AM, David Cramer <dcra...@gmail.com>
> wrote:
>> I also don't think this problem is being addressed here. Yes you
>> could
>> pass messages to the context, but you would lose the ability to
>> retrieve those variably. I believe storing it in the existing session
>> is the best appoach for django's builtin support.
>
> I'm not exactly sure what problem you see as not being addressed, and
> I don't think you were arguing against this, but it has been noted
> elsewhere that it's more desirable to store the messages directly in a
> cookie, if possible, to avoid the extra database or cache hit.
>
> It seems well worth it to me and there are solutions out there that
> try to store the messages in a cookie and then fall back to the
> session for longer (>4kb) messages.
>
> Tobias
> --
> Tobias McNulty
> Caktus Consulting Group, LLC
> P.O. Box 1454
> Carrboro, NC 27510
> (919) 951-0052
> http://www.caktusgroup.com
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to