AutoLogin for Gallery doesn't work!

proxteam

Joined: 2007-09-28
Posts: 1
Posted: Fri, 2007-09-28 15:27

I use Gallery as a submodule in a crm suite. Therefore I don't to login twice. I activated the option "REMOTE_USER" (server variable) in the Site-Administration > General. But how can I set the user the this server variable without getting the error message "Cannot modify header information - headers already sent by"?

Please help!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-09-28 18:35

is the REMOTE_USER variable set correctly? is it set by your CRM application?

the normal way to integrate gallery and to solve a single-sign-on solution with gallery is using the GalleryEmbed API.
see: documentation -> development -> embedding & integration.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage