Title: not same session?
Last modified: August 30, 2016

---

# not same session?

 *  Resolved [beatR](https://wordpress.org/support/users/codepage/)
 * (@codepage)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/not-same-session/)
 * hi there!
 * firstable, fantastic plugin. im sure it will be of much uses. it just helped 
   my find a way to solve a certain task much faster.
 * one question: it seems it’s not running in the same session. if im on the checkout
   page for example, it shows the cart as empty even though it has one product.
 * but if i add a product via console, the cart in the console does have this product.
 * is there some setting im missing? would be cool to be able to work as the current
   visitor…
 * thanks thanks
 * [https://wordpress.org/plugins/wp-php-console/](https://wordpress.org/plugins/wp-php-console/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Fulvio Notarstefano](https://wordpress.org/support/users/nekojira/)
 * (@nekojira)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-same-session/#post-6482393)
 * Hi codepage
 * thanks for your comments feel free to leave a review of this plugin if you find
   useful in your WordPress worfklow
 * I think it’s a bit tricky with Session because WordPress captures the session
   before this library does (it starts as a plugin after all)
 * there have been discussions about this on GitHub, between me and Sergey, the 
   original author of PHP Console
 * Probably you can try registering PC global and passing the session there, but
   it’s likely it will be a separate one:
 * `
    PhpConsole\Helper::register(); // it will register global PC class // ... 
   PC::debug($var, 'tag'); PC::tag($var);
 * I’m not sure how to dig into this and right now I am a bit short of time
 * if you find something please let me know here or on GitHub
 * cheers

Viewing 1 replies (of 1 total)

The topic ‘not same session?’ is closed to new replies.

 * ![](https://ps.w.org/wp-php-console/assets/icon-256x256.png?rev=1070278)
 * [WP PHP Console](https://wordpress.org/plugins/wp-php-console/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-php-console/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-php-console/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-php-console/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-php-console/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-php-console/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fulvio Notarstefano](https://wordpress.org/support/users/nekojira/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/not-same-session/#post-6482393)
 * Status: resolved