lua-users home
lua-l archive

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

Jilani Khaldi wrote:
Diego Nehab wrote:


Could somebody show me a simple cgi application using LuaSocket?

Can you be more specific? What do you want to accomplish with LuaSocket
in a CGI application?
Read data (GET, POST) from a HTML form, use sessions and set/read cookies.

This doesn't require sockets - CGIs read from stdin and stdout, and the web server starts them whenever they're needed.

Actually, does anybody fancy writing a FastCGI binding to Lua? :) (FastCGIs are persistant, and *do* require sockets to talk to the web server.)

Rob Kendrick, Pepperfish Ltd.         +44 (0)845 226 4146
PGP signed or encrypted mail welcome                         Key ID: 3651D17A