[fpc-pascal] web app and application persistency

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Aug 1 16:21:33 CEST 2011


Hello,

This is kind of a theorical question, but I though I'd ask before
starting to code =)

Basically I have a desktop app which I need to retrofit into a
web-app. My idea is to cut it in a visual and a non-visual part and
implement the visual part in HTML+JavaScript and keep the non-visual
like it is now, in Pascal.

So, the problem is that CGI apps are started for every request, correct?

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?

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list