[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luasocket and cgi applications
- From: Rob Kendrick <lua-l@...>
- Date: Wed, 01 Sep 2004 12:21:49 +0100
Jilani Khaldi wrote:
Diego Nehab wrote:
Hi,
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 www.pepperfish.net
PGP signed or encrypted mail welcome Key ID: 3651D17A