Total Zero
Posts: 5
34 credits Members referred : 0
« on: Mar 07, 2007, 12:08:26 pm »
Hi, This is my first post at this forum. i'm firdaus from Malaysia. I want to make single sign on. My system using apache as web server and php as server scripting. I try to make integration for my login page with another system at different server, maybe using different server scripting. I have idea, but i don't know my idea is relevant or not.
My idea, i'm trying to request using http (POST) by login as background process.After user login to my system for the first time, they have to key in their username and password for my system. Then, user have to key in their username and password for their different kind of system in a form so that my system can store those username and password.User have to logout.
Then, after the user login to my system, the system can login to the their system(s) using username and password that have been stored earlier. Just a single login, the user can access their system. This is just my idea.
What is the best solution to make it run without any failure?Can curl module or ajax solve this problem?Please anyone can help me. i'm sick of this......
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #1 on: Mar 07, 2007, 02:50:30 pm »
First of all congratulations for your first post, and welcome to the webdity community
AJAX wont solve the problem as it wont work for different domains (dependeing on browser security settings)
Curl is a good solution but it would be difficult to make a good piece of work.
The best in my opinion is to use a web service API to connect your applications. Check nuSOAP for php 4 or http://php.net/soap for php 5.
Do you have any idea for best tutorial and sample? url? btw, thank u very much for reply
Hello, the techniques suggested by Nick are not really for beginners, do you have moderate PHP / XML skills?
Total Zero
Posts: 5
34 credits Members referred : 0
« Reply #6 on: Mar 09, 2007, 02:56:06 am »
yeah, i have experience and familiar with php but not in xml. My post is php programmer, i can try and make research if that is the best solution to solve my problem. i don't think that is difficult, or maybe for the first timer like me it's difficult but not after i understand that. i hope support from u all.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
yeah, i have experience and familiar with php but not in xml. My post is php programmer, i can try and make research if that is the best solution to solve my problem. i don't think that is difficult, or maybe for the first timer like me it's difficult but not after i understand that. i hope support from u all.
try the different classes for SOAP on pear.php.net, I'm sure you will get it just think that XML is like sum multi-multi dimensional array formated in a kind of html
Total Zero
Posts: 5
34 credits Members referred : 0
« Reply #8 on: Mar 09, 2007, 08:33:40 am »
ok, i will try, if have a problem, i will ask u back terima kasih mean for thank u
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6180