hansk
Posts: 1
|
| Posted: 04/21/2007, 4:05 AM |
|
Hello,
I have develop an application using CCS. and my clients wants somebody else to develop some other modules of this application using c#. My client required from me to develop an API so the other programmer can this API to connect to our application. Honestly I have no idea what the API is except some articles i have read. Also I have no idea how can I develop this. If somebody can help me on this way I would really appreciate.
Best Regards,
Hans Kushner
Kersten GMBH Germany.
|
 |
 |
damian
Posts: 838
|
| Posted: 04/22/2007, 5:47 AM |
|
Hans, this is not a small task. You shoudl discuss your concerns with your manager and let him know that this may take you some additional time as it isnt something you are familiar with.
I dont know anything about writing an API either but your CodeCharge generated SESSIONS are available to the users web sesion and the database will talk to any properly configured client or application so documenting these would be a good start.
Damian
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
Benjamin Krajmalnik
|
| Posted: 04/23/2007, 8:38 AM |
|
C# will not be able to see any session data from the PHP application.
The problem as stated is way too generic - a scope of th integration nees to
be defined.
For example, I provide an API to allow for a single sign on.
The way I have implemented is very simple. I have an aout login page, which
only accespts encrypted parameters.
I have a function which can be called by any web page in any language (for
example, via Ajax, cURL, etc.). You pass it the login identifier as well as
an additioal key aprameter (to prevent hacking of the URL and gaining acess
to data where the "client" application is not authorized).
It returns an XML stream which contains the auto login URL with the
encrypted parameters.
You need to have a full scope document, and you gan go from there. Right
now it is like asking for a cure without knowing either the symproms or the
disease.
|
|
|
 |
|