[web2py] Re: creating background process with multiprocessing spawns new instance of web2py

2010-05-20 Thread amoygard
Thanks for the helpful answer! On 20 Mai, 01:18, Yarko Tymciurak wrote: > On May 19, 5:41 pm, amoygard wrote: > > > Thanks for the answer - I was aware that I don't have to do this to > > handle ajax requests in general. The application I'm building needs to > &

[web2py] Re: creating background process with multiprocessing spawns new instance of web2py

2010-05-19 Thread amoygard
is however probably better to do it statelessly as you say, so I'll probably have to rewrite the code somewhat. Out of curiosity though, what is the right way to start a subprocess in web2py? On 19 Mai, 22:00, Yarko Tymciurak wrote: > On May 19, 2:14 pm, amoygard wrote: > > >

[web2py] creating background process with multiprocessing spawns new instance of web2py

2010-05-19 Thread amoygard
Hi, I'm pretty new to web2py and web application frameworks. I'm trying to create a new background process in controller to handle incoming ajax data from a user. I'm using the module multiprocessing for this. However, when I start the new process, a new instance of web2py server is started? I'm a