You are here

function drd_server_check_session in Drupal Remote Dashboard Server 6

Same name and namespace in other branches
  1. 7 drd_server.module \drd_server_check_session()
1 string reference to 'drd_server_check_session'
drd_server_xmlrpc in ./drd_server.module
Implementation of hook_xmlrpc().

File

./drd_server.module, line 67

Code

function drd_server_check_session($sid) {
  $account = drd_server_get_account_by_session($sid);
  return drd_server_result('session.valid', isset($account) && $account && $account->uid > 0);
}