lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Single connection with "httpd" web server


From: Sergio R. Caprile
Subject: Re: [lwip-users] Single connection with "httpd" web server
Date: Wed, 13 May 2015 09:23:38 -0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hi,
a system I used to work with, happened to solve this issue in a very
elegant way.
You need a tag, a hidden variable in your form, whose value will be
received by the browser when loading the form (SSI) and will be
incremented by the system at every form submission (CGI). If the
received tag does not match the one in the system, then there's been a
collision where one configurating user is trying to submit changes based
on old data, and another configurating user has already submitted
changes in between.
The login/logout suggested by Simon can be easily done with a couple
CGIs and a timer, and you can also use user authentication.
My fork of this web server supports all this (raw API only).
http://scaprile.ldir.com.ar/cms/el-ingeniero/open-source-projects-im-working-on/lwhttpd/
Regards
-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]