Re: Django Login/Session Not Sticking

2014-06-25 Thread LaPerl
Hello all, I'm not sure if you discovered the problem, but if you have different types of authentication backends, maybe the problem is on the session objects. Did you do a delete?. See the NOTE in this chapter:

Re: Django Login/Session Not Sticking

2014-06-10 Thread Erik Cederstrand
Den 10/06/2014 kl. 09.08 skrev Juergen Schackmann : > I do have the same issue with django admin, and definitely no custom js > there. any other ideas??? You need to reduce the problem. Scale down to only one app server and re-run your tests. If the problem

Re: Django Login/Session Not Sticking

2014-06-10 Thread Juergen Schackmann
I do have the same issue with django admin, and definitely no custom js there. any other ideas??? Am Freitag, 6. Juni 2014 13:50:31 UTC+2 schrieb Juergen Schackmann: > > none of my js is fiddling with sessions/cookies. but there are numerous > third party js packages included (for ads etc). so

Re: Django Login/Session Not Sticking

2014-06-06 Thread Juergen Schackmann
none of my js is fiddling with sessions/cookies. but there are numerous third party js packages included (for ads etc). so any of those could do strange things, this would also explain why it broke all of a sudden. could you provide more details on the underlying issue that you had. this would

Re: Django Login/Session Not Sticking

2014-06-05 Thread Mario Gudelj
I know this may sound silly but is there some kind of JavaScript code that may be messing things up? Had a similar issue before and it was related to JavaScript stupidity. On 05/06/2014 10:39 pm, "Juergen Schackmann" wrote: > - all app servers are running the same

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
- all app servers are running the same code with same settings. - DNS load balancing was never used - just did a htop, no unexpected or old processes Am Donnerstag, 5. Juni 2014 11:37:30 UTC+2 schrieb Erik Cederstrand: > > Den 04/06/2014 kl. 13.55 skrev Juergen Schackmann

Re: Django Login/Session Not Sticking

2014-06-05 Thread Erik Cederstrand
Den 04/06/2014 kl. 13.55 skrev Juergen Schackmann : > The production site is served via a load balancer and 8 application servers. > Even stranger: if I test the same code (with the same settings) on a test > server, that is not load balanced and basically has not

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
*PLEASE HELP: I am not sure if this is a bug or caused by my code. But this is a serious issue for my production site.* To get some more debug information, I have created this Middleware: from django.conf import settings class SessionDebugMiddleware(object): def process_response(self,

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
*PLEASE HELP: I am not sure if this is a bug or caused by my code. But this is a serious issue for my production site.* To get some more debug information, I have created this Middleware: from django.conf import settings class SessionDebugMiddleware(object): def process_response(self,

Re: Django Login/Session Not Sticking

2014-06-05 Thread Juergen Schackmann
*PLEASE HELP: I am not sure if this is a bug or caused by my code. But this is a serious issue for my production site.* To get some more debug information, I have created this Middleware: from django.conf import settings class SessionDebugMiddleware(object): def process_response(self,

Django Login/Session Not Sticking

2014-06-04 Thread Juergen Schackmann
Hi all, this question refers to this previous question: https://groups.google.com/forum/#!topic/django-users/8IXEvfU72S4. However, it seems like the problem is slightly different, I decided to open a new question: After my site has been up and running for a while in production, I suddenly