I have this:

request.session["order_items"] = []

and on certain views I have:

request.session["order_items"].append(order_item.id)

In development mode this works fine.  Even when I use Firebug I see
everything being sent to the specific views and other areas of the
site are being updated correctly (they don't rely on the session
variable) and are receiving the variables I send via AJAX.  It is
acting like the session variable is just being passed over.  Kinda
like the session isn't being saved but I have
SESSION_SAVE_EVERY_REQUEST = True in my settings file.

Seth

On Mar 1, 9:04 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-03-01 at 17:02 -0800, Seth Buntin wrote:
> > aren't working...sorry
>
> > On Mar 1, 6:55 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote:
> > > I am running Apache 2.0.59 and mod_python on Windows.  When I run the
> > > application it looks like the session variables are being set.  If I
> > > go straight in to the development server everything is great!  What am
> > > I missing?
>
> Almost impossible to tell from this information, unfortunately. Do you
> mean that Django's middleware is not running properly, so your code does
> not see the effects of receiving the session? Or do you mean that the
> session cookie is not being passed back to the client?
>
> You may need to use something like "curl -I ..." to see what is being
> sent back and forth (or the handy Web developer's extension in Firefox)
> to determine the latter.
>
> Malcolm


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

Reply via email to