August 1999
Intermediate to advanced
1488 pages
72h 53m
English
ssjs_getClientID()
The ssjs_getClientID function is a top-level function that is not associated with any core server-side object. This function returns a unique identifier from the runtime engine. This allows you to track a user's session across several pages when using server-side maintenance. When using this function, there is no need to store the identifier as a property of the client object.
Listing 8.141 writes the identifier generated by the ssjs_getClientID function to the page.
<SERVER> // Store the identifier in a variable var myIdentifier = ssjs_getClientID(); // Write the ID to the page write(myIdentifier); </SERVER> |
Read now
Unlock full access