username cgi

Gerhard Häring gerhard.haering at opus-gmbh.net
Mon Mar 17 12:18:28 EST 2003


Anthony Paul <no at email.com> wrote:
> Hello,
> 
> I am writing a forum on intranet using python. I don't want my users 
> have to enter their username when they will add a message, so I need to 
> read the %username% environment variable of the workstations (they're 
> running win2k).

What about using a Cookie for this? This approach will work cross-platform.

> Is it possible ?  I found a solution about REMOTE_USER but it needs web
> authentification...

You mean "Windows authentification" (NTLM)? That should be possible if
you use Internet Exploder, IIS and your users are authenticated
against a domain. Don't ask me how to do it in Python, though.

-- Gerhard




More information about the Python-list mailing list