Hi all

I stumbled on a very basic problem: somehow mgd_auth_midgard does not 
work for me across multiple page visits. I must be doing something wrong.
example <code-init>:

<?
if ($midgard->user) {
echo "auth already succeeded:" . $midgard->user;
} else {
echo "not authenticated until now, result of new try: " . 
mgd_auth_midgard('a_user', 'a_pass', 1);
}
?>

if i reload this, it returns
"not authenticated until now, result of new try: [id of the user] "
all the time.

mgd_auth_midgard even sends a cookie, but mod_midgard does not seem to 
care and $midgard->user is always set to 0 initially.

please help!

greets
david

-- 
David Schmitter, CMS Developer, [EMAIL PROTECTED]
Dataflow AG, Waaghaus-Passage 8, 3011 Bern, Switzerland
http://www.dataflow.ch/, phone +41 848 000 102, fax +41 848 000 103


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

Reply via email to