Page 1 of 1

[solved] Integration of external applications and CMSMS

Posted: Thu Sep 01, 2011 2:18 pm
by jovo
I have some external applications.

I want to use CMSMS as a portal for those applications.

In CMSMS I have setup FrontEndUsers.

My question is: how can I detect in my external applications
- if the user has logged in
- his userid

Is there any documentation about integration between CMSMS and external applications?

Re: Integration of external applications and CMSMS

Posted: Sat Sep 03, 2011 11:02 pm
by jovo
I have found a solution which works. Maybe there is a better solution but for the time being this will suffice.

Solution:

- I created a UDT.
- I pass $customcontent_loginname to the UDT
- in the UDT I require some PHP and I call a function with the username as argument
- the function outputs a link with target=_new and passes the username to the external application
- if the user follows the link he starts the application and the application knows the username.