• Resolved Rubina07

    (@rubina07)


    Hi James,
    I have two sections one is magento as a shop and other is wordpress as a blog.
    I have used “magento-wordpress-integration” plugin to get header and footer in all wordpress pages from magento.
    I was also purchased the magento extension “Single Sign-On for Magento and WordPress” to manage user in both section.
    All these sections are working properly but the problem is when I was logged in magento it will create a session in magento but wordpress header which is fetched from magento do not manage session in wordpress page. The session will be destroyed somewhere before blog index page load.
    I need to manage magento session in blog pages.

    http://ww.wp.xz.cn/plugins/magento-wordpress-integration/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author James Kemp

    (@jamesckemp)

    Hello,

    Have a look at your Magento cookie settings. The Cookie path needs to be “/” and the domain needs to be “.domain.com”

    Without the quotation marks of course.

    Thread Starter Rubina07

    (@rubina07)

    Hello,

    I have tried the same solution but after save configuration setting magento admin and customer log in stop working. It will not display any error but doesn’t allow to log in. I have two different sections for both wordpress and magento
    Mydomain.com/shop and
    Mydomain.com/blog
    Please give me some solution on this.

    Plugin Author James Kemp

    (@jamesckemp)

    Once your cookie path and domain is set, make sure to clear the var/cache and var/session folders via FTP, and also clear your browser history and cookies.

    Thread Starter Rubina07

    (@rubina07)

    yes i have done the same but its not allow to log in.

    Plugin Author James Kemp

    (@jamesckemp)

    Can I ask what you entered for your Magento cookie settings?

    Thread Starter Rubina07

    (@rubina07)

    yes,
    in my domain name (web/cookie/cookie_domain) – http://www.linuxdemo.projects.net
    and in cookie path (web/cookie/cookie_path)- /myproject/shop/

    Thread Starter Rubina07

    (@rubina07)

    Hi,
    Did you find any solution on this?

    Plugin Author James Kemp

    (@jamesckemp)

    Your domain and path are incorrect. It should be

    .linuxdemo.projects.net
    /

    Thread Starter Rubina07

    (@rubina07)

    Hi,
    i have changed my config setting with same as you mentioned not allow to log in for both admin and customer.
    my all magento setup in shop folder –
    .linuxdemo.projects.net/myproject/shop/

    Please suggest me any solution for this.

    Plugin Author James Kemp

    (@jamesckemp)

    Try .projects.net as the domain, then clear all browser cookies, Magento var/cache and magento var/sessions.

    Thread Starter Rubina07

    (@rubina07)

    Hi,
    Thanks a lot its working…
    I have one more question if I reset password in magento or delete user from magento it will not reflecting to wordpress user. Is there any solution on this?
    Please suggest anything on this.

    Plugin Author James Kemp

    (@jamesckemp)

    Glad it’s working!

    I made a Single Sign On extension for Magento, which will do what you need when used via the frontend: http://codecanyon.net/item/single-signon-for-magento-and-wordpress/861453?ref=jamesckemp

    Thread Starter Rubina07

    (@rubina07)

    Hi James,

    I have uploaded same file on new client’s server with domain name “xyz.project.com” and set a cookie domain as a “project.com” in magento configuration. But is destroy session automatically when any wordpress page is refresh and also it will logged in into wordpress automatically same problem is arise on my local server as well that wordpress is not logged in automatically.

    I have also set domain name on my wp-config file but it’s not working.
    Please help any provide any solution as early as possible.

    Plugin Author James Kemp

    (@jamesckemp)

    Hi. It should be .project.com not project.com

    Thread Starter Rubina07

    (@rubina07)

    Hi James,

    It is possible for me to add code when i delete user from magneto it will be automatically deleted from wordpress also.

    Please suggest me the proper guidance for this.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Session problem in magento and wordpress’ is closed to new replies.