JZ wrote:
I am using Webware installed on Windows2000 server and I found I
could not find all server variable like PHP could. E.g. Windows2000
server has specific variable LOGON_USER which is set for every
logged person. PHP can easy get to this using $_SERVER['LOGON_USER'].
I want to do the same with Webware but I do not know how...

Only small sets of variables are available for request()._environ
variable which I got with the following code:

for k in self.request()._environ:
    self.write(k,'=>',self.request()._environ[k],'<br />')

Is it posible to get that server variable with Python??? That variable
is available only with Windows2000 server platform.

What web server and what adapter are you using? (e.g., Apache and wkcgi.exe)


Ian


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to