[mapguide-users] User re-authentication

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Aug 27 09:18:01 EDT 2008


I'm not sure how the "PHP_AUTH_USER" variable works, but you can get the 
name of the user from the sessionId.
The process is explained here:
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc20

I think you want to call MgSite->GetUserForSession()

Regards, Kenneth Skovhede, GEOGRAF A/S



web skrev:
> Hi all,
> 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.
>
> I've seen it was normally $_SERVER['PHP_AUTH_USER'], but when I log 
> myself with "Administrator" , "admin", I can't see this variable.
>
> Where are user-session, set?
>
> Rémy
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080827/fc0bf4f5/attachment.html


More information about the mapguide-users mailing list