lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

There is a bit of scope here.
1) CGILua does not allow you access to both FastCGI environments, namely
the startup environment and the request environment, there is only one.
This is imprtant This can be changed in CGILua. When I use the word
"environment" I mean FastCGI environment not Lua.

2) Modify venv.lua and/or the fastcgi launcher.

> 've just glossed over the fcgi docs, there are a few hints of interleaving
> the HTML requests for a single FastCGI server, but i can't find any useful
> example.
FastCGI has a session affinity patch.

On Tue, 23 Nov 2004 12:58:46 -0500, Javier Guerra <> wrote:
> Reading the FastCGI version of CGILua, it seems so close to that feature;
> especially after finding that the main event loop is in a Lua script and not
> the C caller.  But there is that venv() call for every event!  totally
> recreating the statelessness of PHP and old-style CGI!
> I'm sure i could just take it off, and use a single global environment, but it
> would make a mess when trying to use several different applications on the
> same server.  also, i think it must be there for a good reason that i just
> don't get.