• I have a WordPress website with user signup. I also have an external webapplication running under a subdomain. This webapplication runs independendly from the WordPress website. What I now what is that a user who is signed into WordPress to be signed into the external application aswell.

    I know how to do this when the application would be under the same domain:

    require('/home/***/domains/***.nl/public_html/wp-blog-header.php');
    if (is_user_logged_in())
    {
    	global $current_user;
    	get_currentuserinfo();
    	$current_user->ID;
    }

    My question is, how can I accomplish this under the subdomain? Normally I would set session.cookie_domain to accomplish this but since WordPress does not use the buildin php session handler I’m guessing this wil not work.

    So, my question is how to get this working.

  • The topic ‘Use the userinfo (ID) in external application’ is closed to new replies.