[Kepler-Project] how to use POST method in lua??

Andre Carregal carregal at fabricadigital.com.br
Sat Dec 22 00:45:29 GMT+3 2007

On Dec 22, 2007 12:06 AM, venice chong <venicechong at gmail.com> wrote:
> yupe...actually i did plan to use the pajhome hashing method..
> so the password sent out to the server side is hashed..
> and now how to get the hashed password at server side..??
> in lua..

(my last post got a bit ahead of me)

Let's say your HTML form has fields called passwd and username, you
would get their values as cgilua.POST.passwd and cgilua.POST.username

Keep in mind that the password has already been hashed, so you have to
compare it to hashed passwords. In fact it would be wise to store
every password hashed, not clear.


More information about the Kepler-Project mailing list