Accessing currently logged-in Drupal user from Java application -


i have java application hosted on same domain drupal website. java application gets client request form browser (so access cookies). possible using cookies in java application check if client logged drupal same browser?

i thought using xmlrpc java application perform request drupal services module, couldn't find way information logged in user providing cookie data.

any ideas?

thanks lot.

ps: i'm using freshly installed drupal 7. if have drupal 6 example job. thanks.

well, if can session id, can hit sessions table, , see if there row in table has same sid (session id = sid). if uid isn't 0, user logged in, , can there.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -