On Tue, Jul 21, 2009 at 10:23 PM, Zachary
Voase<zacharyvo...@googlemail.com> wrote:
>
> Hi Developers,
>    I know this feature request might be a little late in the
> development process, so I’m sorry about that. The idea is to add a
> reload() method to SessionBase, so that the session data can be
> reloaded from it’s storage backend at any point during the view
> processing. The motivation is that, especially for sites which use
> AJAX and which might be dealing with multiple requests at one time
> from a single client, the session data could be changed during the
> HTTP lifecycle, potentially requiring reloads of the session. The
> method itself is sort of a one-liner:
>
>    class SessionBase(object):
>        ...
>        def reload(self):
>            self._session_cache = self.load()
>
> I’ve ended up implementing this myself a couple of times (using monkey
> patching from a piece of middleware). It would be nice to have built-
> in, since it’s quite an elementary function. What does everyone think?

The deadline for feature additions to Django v1.1 passed in February.
Since then, we've been in bug fixing mode in preparation for the
release.

If you're enthused about adding this feature, you need to wait until
we are discussing new features - which will happen soon after the
formal release of Django v1.1 (hopefully, in a little over a week).

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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