I would stick to domain's session id, expose a method to exchange session id for user's guid, and then login the user.
This ended up being the solution:
http://groups.google.com/group/elgg-users/browse_thread/thread/0032a509b8375a80/af7dc0e56a7bded5
It is a core hack, but we really needed it. In sessions.php:
Add this line:
session_set_cookie_params(0, "/", ".yourdomain.com");
right before the "session_start();" on line 501.
Make sure you put the "." in front of your domain.
Hi,
We also have a similar requirement, where there will be elgg installed on different machines(i.e. different sites) and need to use single database to save the data updated by each of the sites. Is there any way in Elgg 1.8 to achieve this?
Thanks,
Ryan
marcus povey multi site
thanks DhrupDeScoop for the suggestion, this plugin do allow creation of multiple different sites.
My appology, as I previously forgot to mention that that the data of one site should be mutually exclusive to other site.
for e.g I have two sites site1, site2.
now there will be some users user_a, user_b, etc on site1. and users user_x, user_y, etc on site2. the updates in site1(blogs, activities) should not be visible to users on site2 and vice versa, but the data should reside in same database(tables)
I tried exploring the plugin but did not find any way to do it. Is this possible in elgg?
thanks,
Ryan
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.