<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm not sure how the "PHP_AUTH_USER" variable works, but you can get
the name of the user from the sessionId.<br>
The process is explained here:<br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/MapGuideRfc20">http://trac.osgeo.org/mapguide/wiki/MapGuideRfc20</a><br>
<br>
I think you want to call MgSite->GetUserForSession()<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
web skrev:
<blockquote
cite="mid:1219837414-39a68402385f62f901894e1dea8bca5e@infogeo.ch"
type="cite">Hi all,<br>
I would like to know which way the login, session (username) are set in
PHP. I want to give the availability to the use to reauthenticate with
another account in my application.<br>
<br>
I've seen it was normally $_SERVER['PHP_AUTH_USER'], but when I log
myself with "Administrator" , "admin", I can't see this variable.<br>
<br>
Where are user-session, set?<br>
<br>
Rémy
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>