Support #900
closedsingle process per client in fastcgi
0%
Description
Dear all,
It it possible to have single process per client in fastcgi of apache. Currently I'm using dedicated mode in wt_config.xml. In this mode it spawns a new process for every page of the website.
Updated by Koen Deforche over 12 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
Normally, in dedicated process mode, all requests for a single session should be directed to the same process. If you are not seeing this, then there must be something wrong with how your application is deployed. It could be a consequence of a misconfiguration of FastCGI module in the webserver.
What FastCGI setup are you using and can you paste your configuration ?
Also, can you include the relevant part of the log files which tell that new processes are being spawned ?
Regards,
koen
Updated by Koen Deforche over 12 years ago
- Status changed from Feedback to Closed
Got this via mail:
Hey Koen,
Later i recognised what i was doing wrong. I hosted three
pages, one at /, one at /login, and another at /home and I used
redirect(/home) from login page in case of proper login. Here it
spawned another process. Instead of redirect, I should have used
removeWidget() and addWidget() or WStackedWidget for the purpose. Is
this the right way of doing it?
Yes it is !
Regards,
koen