Title: onmas's Replies | WordPress.org

---

# onmas

  [  ](https://wordpress.org/support/users/onmas/)

 *   [Profile](https://wordpress.org/support/users/onmas/)
 *   [Topics Started](https://wordpress.org/support/users/onmas/topics/)
 *   [Replies Created](https://wordpress.org/support/users/onmas/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/onmas/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/onmas/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/onmas/engagements/)
 *   [Favorites](https://wordpress.org/support/users/onmas/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Calling a plugin across two scripts](https://wordpress.org/support/topic/calling-a-plugin-across-two-scripts/)
 *  Thread Starter [onmas](https://wordpress.org/support/users/onmas/)
 * (@onmas)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/calling-a-plugin-across-two-scripts/#post-7395244)
 * Hi again epicdevspace,
 * I’ve had a response that provides the reason for the problem. When the client
   calls TEST_SHORTCODE.php directly, MemberPress knows its a client (perhaps via
   cookie or session variable) and can respond. However, if the client calls the
   CALL_SHORTCODE.php script and its the script that calls TEST_SHORTCODE.php then
   the call is coming from the server not the client.
 * So I appear to have an explanation but no solution to my problem which will need
   a rethink.
 * Thanks for taking the time to consider it. I’ll mark the question closed.
 * Regards,
    -Jason
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Calling a plugin across two scripts](https://wordpress.org/support/topic/calling-a-plugin-across-two-scripts/)
 *  Thread Starter [onmas](https://wordpress.org/support/users/onmas/)
 * (@onmas)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/calling-a-plugin-across-two-scripts/#post-7395239)
 * Hi again epicdevspace,
 * Thanks for helping on this. Its just:
 * [{“username”:””}]
 * Jason
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Calling a plugin across two scripts](https://wordpress.org/support/topic/calling-a-plugin-across-two-scripts/)
 *  Thread Starter [onmas](https://wordpress.org/support/users/onmas/)
 * (@onmas)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/calling-a-plugin-across-two-scripts/#post-7395136)
 * Hi there.
 * Thanks for getting back to me. Unfortunately, its behind a password protected
   server and I can’t provide access (much as I really want to as this is taking
   up loads of time). But the scripts are in the locations above (albeit with a 
   spurious URL) and produce the output shown when called as:
 * [http://my.url.com/scripts/TEST_SHORTCODE.php](http://my.url.com/scripts/TEST_SHORTCODE.php)
   
   [http://my.url.com/scripts/CALL_SHORTCODE.php](http://my.url.com/scripts/CALL_SHORTCODE.php)
 * Its very strange.
 * Jason

Viewing 3 replies - 1 through 3 (of 3 total)