Hello everyone,
I am currently trying to debug some weird session handling issues for
a Django application (Review Board), which is running on top of
mod_python / Apache:
What seems to happen is that authenticated user sessions are leaking
and get re-used for new browser sessions that have never
Look at the thing I posted. The sessionid= tag is there but it seems
to confuse django when there's more than just that in that header. I
don't know exactly what causes it though.
On May 7, 4:28 pm, finnam <[EMAIL PROTECTED]> wrote:
> Isn't it just a matter of session id cookie name? You should
Isn't it just a matter of session id cookie name? You should have
different session id cookies for java app server and django.
On May 7, 12:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Ahh, I figured it out. There was a java app server running on this
> machine before and I for some r
Ahh, I figured it out. There was a java app server running on this
machine before and I for some reason that caused django to choke. I
removed all of them and now it works.
Does this seem like a bug?
--~--~-~--~~~---~--~~
You received this message because you a
I am seeing a weird session problem on one machine. I have had my app
up and running on one machine for a while and it works fine. I tried
copying all the code to another machine, setting up django/flup/
lighttpd and then running it. The app starts up fine but then when I
go to log in I get an
Well this didn't work:
request.session["order_items"] = request.session["order_items"] +
[order_item.id]
Any other ideas? Is it how Django is implementing sessions or how
mod_python and Apache have their child processes?
Thanks.
Seth
--~--~-~--~~~---~--~~
You
Well this didn't work:
request.session["order_items"] = request.session["order_items"] +
[order_item.id]
Any other ideas? Is it how Django is implementing sessions or how
mod_python and Apache have their child processes?
Thanks.
Seth
--~--~-~--~~~---~--~~
You
On Fri, 2007-03-02 at 14:37 +, Seth Buntin wrote:
> I would love to tackle this issue, since it is to my advantage, but
> really don't know where to start. Any ideas?
I would start with the Session object itself -- have a look in
django/contrib/sessions/ -- since any general solution will ne
On Mar 2, 2007, at 04:35 , Seth Buntin wrote:
> I have this:
>
> request.session["order_items"] = []
>
> and on certain views I have:
>
> request.session["order_items"].append(order_item.id)
Maybe is just shoot in the dark, but...
Looking at SessionWrapper.__setitem__ your request.session
["or
I would love to tackle this issue, since it is to my advantage, but
really don't know where to start. Any ideas?
Seth
On Mar 1, 10:59 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-03-01 at 20:17 -0800, Graham Dumpleton wrote:
>
> [...]
>
>
>
> I wrote:
> > > > I'm wondering i
On Thu, 2007-03-01 at 20:17 -0800, Graham Dumpleton wrote:
[...]
I wrote:
> > > I'm wondering if this may lead to race conditions along the lines of:
> >
> > > thread A creates a session
> >
> > > thread B creates a session
> >
> > > thread A stores "foo = 6
What type of debug code could I use?
Seth
On Mar 1, 10:17 pm, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote:
> On Mar 2, 2:57 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote:
>
> > That probably isn't too far off. One time it did work and it was
> > weird so I might have actually got one of the thre
On Mar 2, 2:57 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote:
> That probably isn't too far off. One time it did work and it was
> weird so I might have actually got one of the threads to fire
> correctly. Is there a way to limit the amount of threadsmod_python
> uses?
The threads are not created
That probably isn't too far off. One time it did work and it was
weird so I might have actually got one of the threads to fire
correctly. Is there a way to limit the amount of threads mod_python
uses?
Seth
On Mar 1, 9:48 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> Hi Seth,
>
>
>
> On F
Hi Seth,
On Fri, 2007-03-02 at 03:35 +, Seth Buntin wrote:
> 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
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 corre
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
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 a
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?
Thanks.
Seth
--~--~-~--~~~---~--~~
You re
19 matches
Mail list logo