Fwd: WWWdb thanks and bug fixes

---------

About this list Date view Thread view Subject view Author view

Klaus Reger (K.Reger@twc.de)
Thu, 16 Dec 1999 09:56:52 +0100


---------- Redirected Message ----------
Subject: WWWdb thanks and bug fixes
Date: Wed, 15 Dec 1999 12:50:51 -0800
From: Rudi Lethe Cilibrasi <cilibrar@parvati.signalline.com>

Greetings Klaus

Thank you for writing such a useful tool, WWWdb. I like it very much.
I especially like the random hex session id string -- I use this convention
myself in all web/database applications I write, and find it very convenient
and clean! I use 32-char hex strings however, since it is possible to
have a random key collision with only a few billion simultaneous records
in the 16-character case. (32 char string means really never an accidental
collision ever, since there is never enough storage space on the planet
to make collision remotely likely... especially if using /dev/urandom or
some other good random number generator!)

I had to modify the WWWdb.cgi script a little in order to get it working,
I have attached my modified version below for your review. The final
change that seemed to fix it for me was removing the call to MyExit
after the redirect around like 2620 or so. (it is commented with my username
cilibrar) I also got some unitialized variable errors with the
$cConfigFileMGL and so added an empty initializer. Now the program seems
to be working fine on my system. Finally, to get it working from any
host, I had to change the HostName to not return localhost but instead
the real hostname and port number that my WWWdb webserver was running on.
      /HostName/ && do {
# $cResult = &MyVal("WWWdb", "Hostname", hostname());
# cilibrar
         $cResult = "toronto.veon.com:8080";
         last switch;

Thanks again for creating such a useful tool! Please let me know if I
can offer you some assistance in the further development of this highly
useful programme sequence.

Rudi

#!/usr/bin/perl -w
...


About this list Date view Thread view Subject view Author view

[ more infos at http://linux.twc.de/WWWdb ]

---------

This archive was generated by hypermail 2.0b3 on Thu Dec 16 1999 - 11:01:00 CET

archive maintainance: stefan@space.twc.de