Re: Meaning of SRVKEY last numbers

Joel Palmius <[email protected]> Wed, 18 May 2005 18:45:33 +0200 (CEST)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
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


On Wed, 18 May 2005, Gabriele Morelli wrote:

> HI,
> I have a request from an user, that is asking me what is the meaning of the last
> 4 or 5 numbers in the key field SRVKEY.
> For example :20050517_094417_27913
> what is the meaning of _27913?
> Thank you for your time.
>
> Gabriele
>
> Skickat av Gabriele Morelli <[email protected]>
> till survey-discussion
>
Skickat av Joel Palmius <[email protected]>
till survey-discussion