[Tutor] CGI script: get the client user

paulino1 at sapo.pt paulino1 at sapo.pt
Wed Jan 10 10:33:34 CET 2007


I have some python CGI scripts running in an intranet.

I would like to get the user of the client browser to use it as an input in the
script, so it can show the the data related to that user.

There is the function getpass.getuser() that would return the user logged in the
server.

Is it possible to get the user in the client side with Python or I do I have to
use javascript for that purpose?


Thank you,

Paulino
___________________________________________________________________

O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt



More information about the Tutor mailing list