Add public method for getting session data from user or guest role for scripting.