Re: Chatbot using Django Channels. Persist a python object in a scope?

2018-06-10 Thread Rithwik Cherian
imes get garbage collected after an idle > period with no communication. You should think about this even for > WebSocket; what happens if the user's socket reconnects? Does the state > machine reset? If not, you need to store state somewhere externally from > the socket handli

Re: Chatbot using Django Channels. Persist a python object in a scope?

2018-06-10 Thread Rithwik Cherian
his allows you to easily > scale and also recover state if your app process stops. > > On June 9, 2018 1:01:14 AM CDT, Rithwik Cherian > wrote: >> >> Hello all, >> >> Very excited to discover the Channels project. I think it could be >> exactly what I was looki

Chatbot using Django Channels. Persist a python object in a scope?

2018-06-09 Thread Rithwik Cherian
Hello all, Very excited to discover the Channels project. I think it could be exactly what I was looking for. I am going through the documentation and seeing how it works right now, but I would really appreciate if someone could tell me if it will help me do what I want. I am making a chatbot,

Social networking site

2012-10-12 Thread tojo cherian
Hi, please help me to model a social networking site which has chats, debates, polls, petitions, etc It would be helpful if anyone can post some link which would help in developing a social networking site. Cheers Tojo -- You received this message because you are subscribed to the Google

Re: Force logout a user in signed cookie mode

2012-04-10 Thread Cherian Thomas
Hi, all Can someone help? - Cherian On Tue, Apr 10, 2012 at 11:51 AM, Cherian wrote: > Hi all, > > In the signed cookie mode is it possible for me force logout an > account? > Say I login from two places, and I need to logout my account from the > one access I forgot to

Force logout a user in signed cookie mode

2012-04-09 Thread Cherian
ere might be an override key I am missing. Also it’s quite possible that I since there is no session key on the server side to reset, this functionality might not be there. Can someone help? -Cherian -- You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Is there a way to prevent /static directory browsing?

2012-02-06 Thread Cherian Thomas
Direct your webserver to prevent this. .htaccess/conf in apace. Directory browsing is disabled by default in nginx http://www.ducea.com/2006/06/26/apache-tips-tricks-disable-directory-indexes/ Regards, Cherian On Mon, Feb 6, 2012 at 8:23 PM, Robert Steckroth wrote: > Hey Guys, I am look

Re: Alternatives to celery

2012-01-16 Thread Cherian Thomas
Gearman supports sqlite. Gearman is for jobs, not just data. Regards, Cherian On Mon, Jan 16, 2012 at 8:35 PM, bryan hunt wrote: > Gearman only supports a MySql backend for persistent queues - it > doesn't support a real message queue like Rabbitmq. > > > > On Jan 16, 1

Re: Alternatives to celery

2012-01-16 Thread Cherian Thomas
Second Arun’s suggestion on gearman. Pretty solid too. Regards, Cherian On Mon, Jan 16, 2012 at 3:52 PM, Alec Taylor wrote: > Looking for an alternative to celery? — Have you considered carrot? > > :P > > -- > You received this message because you are subscribed to

Re: Users getting logged out frequently

2012-01-04 Thread Cherian Thomas
Do you have the SESSION_COOKIE_NAME set correctly? Regards, Cherian On Wed, Jan 4, 2012 at 9:21 PM, arun.pbk wrote: > > I have a Django app using Django social with session timeout set as > SESSION_COOKIE_AGE = 60 * 60 *24 * 7 > The session is being store in the db and rows are