pp wrote:

> > I don't really understand what you're trying to accomplish above. Can
> > you rephrase?
> > 
> 
> I start from the beginning:
> 
> site is SG2
> And one object is getting from SG1 site
> I want to authenticate to simply get this SG1 object

use mgd_auth_midgard("admin", "pass", 0);

if you do $env = mgd_get_midgard(), $env->user should be non-0 and
$env->sitegroup should be 0.

> to SG2 site, and next forget about auth to get all 
> remain content from SG2 site.

You cannot simply undo an auth call. You can reauth into SG1 by
calling mgd_auth_midgard again, or become an 'anonymous' user in SG0
by calling mgd_auth_midgard("", "").

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to