richierich1m 0 Report post Posted October 6, 2006 (edited) 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 . can anyone please help me with the basic logicthanks Edited November 28, 2006 by BuffaloHELP (see edit history) Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 6, 2006 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. Share this post Link to post Share on other sites
rvalkass 5 Report post Posted October 6, 2006 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. Share this post Link to post Share on other sites
richierich1m 0 Report post Posted October 6, 2006 the two are opensource scripts are joomla ,and osdate ,and i'll also like to integrate phpfox(its not opensource)thanks for help guys Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 6, 2006 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? Share this post Link to post Share on other sites
richierich1m 0 Report post Posted October 6, 2006 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 Share this post Link to post Share on other sites