Re: Meaning of SRVKEY last numbers

Gabriele Morelli <[email protected]> Thu, 19 May 2005 07:55:24 +0000 (UTC)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Joel Palmius <joel.palmius <at> miun.se> writes:
> 
> There's no meaning. It is the process number of the apache instance that 
> created the key, plus a random number. This way you are sure that the key 
> is unique even if two clients load the page at the same time. Without this 
> addition you would get key clashes at high loads.
> 
> The algorithm for creating the key is in Survey::System->CreateKey(), 
> lines 190-245.
> 
>    // Joel

Thank you so much Joel for you always precious time!

Gabriele

Skickat av Gabriele Morelli <[email protected]>
till survey-discussion