setting REMOTE_USER CGI env. var

Constantinos A. Kotsokalis ckotso at cs.ntua.gr
Wed Aug 30 09:29:25 EDT 2000


Hello people,
  I am writing a CGI script in Python and I am trying to set the
REMOTE _USER environment variable, after authenticating using
a form (no htaccess or require valid-user). I have been trying with

os.environ["REMOTE_USER"]=username

but it's not working (it is set temporarily but lost right after).
Does anyone know how to do this?

PLEASE, Cc your reply to ckotso at yahoo.com

Thank you!

-- 
Costas Kotsokalis



More information about the Python-list mailing list