J
JZ
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 Webware):
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.
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 Webware):
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.