pp wrote:

> > > If you also want to make the midgard core 'forget' about the current
> > > user, use mgd_auth_midgard("", "", 1);
> > > 
> > 
> > that could be very usefull I think. Let me try.
> 
> It looks like doesn't work :(

Doesn't work? Does mgd_errstr return anything specific? And if you do

mgd_auth_midgard("", "", 1);
$env = mgd_get_midgard();
echo "User = " . $env->user;

Note that if output is allready sent out, you'll have to do
mgd_auth_midgard("", "", 0); instead; setting the last parameter to
non-0 (or omitting it) will try to send out a cookie, and that will
fail if ouput has allready been sent to the browser.

Emile




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

Reply via email to