Re: How can I find and clean an user's session from an user's id?

2013-01-21 Thread Jamie Lawrence
It is ok. Really. In llvikgiimn. In. Go g -j I hurry. -- Sent from a phone, please excuse typos and terseness. On Jan 21, 2013, at 4:10 PM, Nikolas Stevenson-Molnar wrote: > I took a quick peek at the sessions implementation and it doesn't look > like this is

Re: How can I find and clean an user's session from an user's id?

2013-01-21 Thread Toni
Hi, Maybe this helps you: http://stackoverflow.com/a/4892370/938046 2013/1/21 Serge G. Spaolonzi > I am looking the way to selective clear determinate user sessions from the > server. It has to be done from outside the user's session or request. > The complete user case

Re: How can I find and clean an user's session from an user's id?

2013-01-21 Thread Serge G. Spaolonzi
Thanks. On Mon, Jan 21, 2013 at 10:10 PM, Nikolas Stevenson-Molnar < nik.mol...@consbio.org> wrote: > I took a quick peek at the sessions implementation and it doesn't look > like this is possible just using the sessions framework (since it only > stores Session -> User and not User -> Session).

Re: How can I find and clean an user's session from an user's id?

2013-01-21 Thread Nikolas Stevenson-Molnar
I took a quick peek at the sessions implementation and it doesn't look like this is possible just using the sessions framework (since it only stores Session -> User and not User -> Session). You could subclass one of the existing session backends and store this information yourself (look at

How can I find and clean an user's session from an user's id?

2013-01-21 Thread Serge G. Spaolonzi
I am looking the way to selective clear determinate user sessions from the server. It has to be done from outside the user's session or request. The complete user case is: 1) Django process receives a ping with the id of the user to clear the session 2) Django process searchs the session for that