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
Swagato RaySwagato Ray 

How to validate the Session

Hi All,
My objecttive is to check the valid User session based o the "Session Id".
I am trying to do the following 

String id = "Session ID";
boolean isValid = SOME METHOD CALL(id);

How can I do?
Where are you looking to do this?  Inside a VF page?  From a remote system calling in via REST/SOAP?
Swagato RaySwagato Ray
Hi Pcon

I want to do it from either controller or from VF page. Can you please provide me both the approaches.