August 1999
Intermediate to advanced
1488 pages
72h 53m
English
ssjs_generateClientID()
The ssjs_generateClientID 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 client-side maintenance. You may want to store the identifier as a property of the client object, but be careful to keep it from being accessed from other clients.
Listing 8.139 shows how you can assign a property of the client object an identifier to track a user.
<SERVER> // Store the identifier in a client property client.sessionID = ssjs_generateClientID(); ... |
Read now
Unlock full access