Fred Atkinson <fatkin...@mishmash.com> wrote: > >I wonder why they don't just have a function to return it instead of >putting you through all of that?
In CGI, EVERYTHING gets communicated through environment variables. That (and the stdin stream) is really the only option, since you get a new process for every request. The Python CGI module doesn't provide a wrapper function because this information is just not useful. Most corporate users sit behind proxies, so everyone at the company appears to come from the same IP. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list