|
|
|
|
![]() ![]() |
Oct 6 2006, 05:53 PM
Post
#1
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 162 Joined: 15-September 06 Member No.: 30,010 |
Hi Everyone , i currently have two websites which were installed with opensource scripts,now i want the users of one site to be able to access the other site without logging in .
see if user A goes to 1 st website and logs in it. use the feature of the website ,then from his account he goes to a link to other site ,i want him to be logged in the other site automatically with the help of his cookie from the first site. i just want the logic for this ,i know only very basic php ,so i would be learning from php tutorials on the internet and doing this . thanks This post has been edited by BuffaloHELP: Nov 28 2006, 08:14 PM |
|
|
|
Oct 6 2006, 06:22 PM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,083 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
You don't mention which "Open Source" software packages you are using.
Some Forums, for instance, have Mods or extensions which co-ordinate logins. The basics would be to use the login information at the first site and verify that they are capable of being confirmed as a registered user at the second one and then allowing them to access the second site. And the reverse would apply, of course. Post the names of the packages involved and we will see if there is a Module available for this feature. |
|
|
|
Oct 6 2006, 06:38 PM
Post
#3
|
|
|
apt-get moo ![]() Group: [MODERATOR] Posts: 2,153 Joined: 28-May 05 From: Devon, England Member No.: 7,593 ![]() |
The problem here would be that your current users would need exactly the same account information on both systems. If you wanted one central user system then you would probably have to modify the code of the two systems you want to combine to accept data from your login script. The PHP sessions usually just carry a session ID around the site, allowing you to check who they are and get other temporary information. You would need to make sure that the session variables the data is stored in would match both sites. For example, it's no good storing their username in the variable $username if the other script looks for the variable $userID.
As jlhaslip has suggested, many forum scripts, CMSs, blogs etc have scripts written by other people that modify the two scripts to work together. Try looking for these at the two websites for the scripts you are using, or post their names here. |
|
|
|
Oct 6 2006, 06:57 PM
Post
#4
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 162 Joined: 15-September 06 Member No.: 30,010 |
the two are opensource scripts are joomla ,and osdate ,and i'll also like to integrate phpfox(its not opensource)
thanks for help guys |
|
|
|
Oct 6 2006, 07:15 PM
Post
#5
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,083 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
the two are opensource scripts are joomla ,and osdate ,and i'll also like to integrate phpfox(its not opensource) thanks for help guys Looks like they are working towards the Integration HERE. Visit that forum, express your interest, and stay in touch with them. Might need a Beta tester? |
|
|
|
Oct 6 2006, 07:24 PM
Post
#6
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 162 Joined: 15-September 06 Member No.: 30,010 |
Looks like they are working towards the Integration HERE. Visit that forum, express your interest, and stay in touch with them. Might need a Beta tester? thanks for searching bud,i am already a member at tufat forum and following the post but as i didn't got the solution at tufat or joomla ,i was trying to do it myself learning php (just to learn something new and get it done faster) thanks again for taking your time |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 11:48 AM |