I have the session id of my application. now i want to get all the session variables by using this session id.
I used t
$_SESSION is what you are looking for. Remember to call session_start() first. See http://php.net/session.examples.basic
$_SESSION
session_start()