How to retrieve userid from html application

Jean-Noel Colin jn.colin at gmail.com
Wed Aug 30 10:47:17 EDT 2006


I need the userid to customize the content display to the user according
to his profile. I'm using mod_cas. I found out that the user id is
stored in the REMOTE_USER variable that I could retrieve using some
ColdFusion code. But i'm wondering if this is the best and secure way.

Thanks

Jean-Noel


Christopher Brown wrote:
> phpCAS is pretty easy
> 
> -----Original Message-----
> From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] On
> Behalf Of Jean-Noel Colin
> Sent: Wednesday, August 30, 2006 4:47 AM
> To: cas at tp.its.yale.edu
> Subject: How to retrieve userid from html application
> 
> Hi
> 
> I have a plain html application running under apache. I have protected
> the directory where the application resides using CAS, but now, i would
> like to be able to retrieve userid used to login from the html page. As
> html is static, I guess I would need to have some server-side scripting
> to retrieve that information? What's the easiest way?
> 
> Best regards
> 
> Jean-Noel Colin
> 
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
> 



More information about the cas mailing list