[pmwiki-users] Multiline variable Markup based on $AuthId

Helge Larsen hal at post4.tele.dk
Sun Oct 30 16:37:32 CST 2005


Hello

>1. How do I get the content of the $AuthId variable ?
>I have tried both $GLOBALS['AuthId'] and $_SESSION['authid'] but none
>of them seems to work (both empty)
>Hello

I have found out that I have to call session_start to access the
session variable like this:
	session_start();
	$authid = $_SESSION['authid'];

So my problem is solved.

-- 
Regards
Helge Larsen




More information about the pmwiki-users mailing list