Topic complex |
CGI functions |
Function |
cgigetsession() |
Short |
Returns the session id out of the IP address and the system time |
Syntax |
CGIGETSESSION |
Parameter |
|
Return |
string with 16 chars,
1-8 : IP-number of the client as a HEX number
9-16: Seconds since 1970-1-1 as a HEX number |
See also: |
|
Description |
A session id of CGIGETSESSION is sufficient in practise. The case that two clients call a function via the same IP address at the same time is improbable.
To be absolute sure the session id returned by CGIGETSESSION can be expanded, eg. by a randomed number (as a STRING) that is incremented at every call.
|