[fpc-pascal] web app and application persistency

Ludo Brands ludo.brands at free.fr
Mon Aug 1 17:24:39 CEST 2011


> > So how should I proceed to obtain a application which will keep 
> > running for the entire session of a user? I don't want to 
> simply save 
> > session info because the application is rather large, there 
> are lots 
> > of things going on and it would be much easier for my coding if I 
> > could keep the program running on the web server ...
> >
> > Any ideas?
> 
> If you really want the application running 100% of the time, 
> there are only 2 options:
> - fastcgi with mod_fastcgi (NOT mod_fcgid) and 
> ExternalFastCGIServer option.
> - Embedded server (i;e. the application acts as a webserver).
> 
> Both ways are supported with fpWeb. I use fastcgi.
> 

Currently I'm working on project that uses a small (fast)cgi module that
sends and receives data over a socket to the application that is running in
the background.  A 3rd option. 

Ludo  




More information about the fpc-pascal mailing list