![]() |
How I inherit / share login session / cookies?
Hello Everybody,
I have a site like: http://mysite.com/drupal http://mysite.com/phpbb http://mysite.com/wordpress http://mysite.com/kb All of PHP scripts above run on the same box (same hosting) and same domain. First, I want to integrate all of them (user table) to have an one-time-login, but it is too hard and will be very difficult to add plugins / add-ons or update. So, I think some code lines / snippet (in a single file .php as class / library to include). I will insert this file into drupal, phpbb, wordpress,... to check login status. All of script will be share a session or cookies and will active user login status of itself. I don't want to use other solutions like LDAP, OpenID because of curve. How will I begin? Thanks for sharing your experiences. |
Well just drop Drupal and Kb and you're good to go, there's an integration plugin for phpBB+WordPress that does exactly what you need. It may be a good place to start, because the concept will remain the same in each system - check if there's a login present from one of the others, and if so add the same login to the currently active system.
That's an awful lot of applications to be running on a single site under a single login though - maybe before you go through the headache of writing an extension for each, you should examine if you really need one site running four separate entities like that. |
Running Drupal and Wordpress is superfluous, generally anything one can do the other can do as well. However, Drupal has a slightly steeper learning curve and if that's what you're concerned about I'd take delayed's suggestions and drop Drupal.
Having dropped Drupal, again as Delayed's said, there are plugins for Wordpress+phpBB integration. As for KB, which I suspect to be PHPKB ( A knowledge base script ) - you're out of luck and I would recommend just a good old fashioned Q&A forum in PHPBB as a simpler alternative. |
Quote:
Using both Drupal and WP is unnecessary, if you don't know how to use either, learn Drupal. If time is an issue use WP. |
Drupal is about as user friendly as taking a right side drive car 4x4ing. Plus I heard Extenze was buying out the IP rights to their name anyways for a new senior citizen pill they're releasing. :D
|
| All times are GMT. The time now is 02:23 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0