function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VPVP 

Validation of session and user

In our application triggered thru' a custom link, we would like to validate the session id and user passed thru the link. What is the recommended way? I cannot find a way to validate (crosscheck) the userid with the sessionid.
SuperfellSuperfell
use the SessionId to call getUserInfo and compare the results. You'll also need the serverUrl passing over to do this.
Vijay RautVijay Raut

Hi VP/ Simon,

Can you please give some light on how will i use the getUserInfo function?

If you are having any code snippest in Java for user validation as described by VP in his problem then please mail me or reply to this post.

Thanks in Advance.

Regards

Vijay Raut