What do I need to do to get a unique server side session ID for a smart client session?
This needs to be different for each client instance.
I would rather use a server generated unique ID rather than using a random number generator and storing this to a variable.
Cheers
David Younger
TSM
security.getClientID() is a unique serverside id.
jcompagner:
security.getClientID() is a unique serverside id.
I know about this, but it’s not in sync with the browser session. If the user closes the window and opens it again, it will be a different ID. I cannot store a auth session with it.
we don’t have a stable id for something like that, that is mostly a username that you need to provide to the system, what you can do is create a uuid string
and after login do a setUserProperty() this stores it on the clients browser and as long as the client doesn’t flush all the local storage the next time you can ask for that uuid with getUserProperty()