开发者

Need blog and shopping cart to contain same login

Hello and thank you in advance!

I am setting up a site and it needs both a blog and a shopping cart. I would prefer to have them both have the same user database and session, so that if they log-in to one they log-in to the other. I was wondering if anyone has had experience with this and if they found that two specific platforms that worked well together or a single platform that fulfilled both 开发者_开发百科roles well. The shopping cart doesn't need to be more than basic.

I was thinking of using magento and phpBB or Magento and wordPress but I am impartial to any specific platform.

Thanks again!

Oh and obviously it must use PHP and MySQL ;-)


Will the two software on the same domain ? I have done this using opencart and wordpress and because it was on the same domain we can easily get the session.I just checked the session and accordingly I make user loggin at both the ends. For eg : my site url was www.abc.com and blog at : www.abc.com/blog


Generally speaking, if you use two different software, you'll have :

  • two distinct user tables -- and two distinct databases probably (which is not a bad idea)
  • two distinct login mecanisms

But you could put some kind of Single Sign-on mecanism in place, so loging in on one also logs you on the other one.

This is not often done out of the box ; but there are sometimes plugins that will help you implement SSO.


There are often plugins for your forum or the blog to authenticate against a different system, be it LDAP or another database. They generally don't support it out of the box.

See Share login info between CMSs (Wordpress and phpBB) for an answer to a similar question.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜