From: Paul N. <web...@ih...> - 2005-09-05 02:58:04
|
I am starting out usingh tclhttpd and am getting some inexplicable behaviour. The tclhttpd3.5.1 is running on Windows XP with tcl/Tk 8.4 I am accessing the server from a Windows Me box proc Cookie_Get {cookie} { global env set result "" if {[info exist env(HTTP_COOKIE)]} { set rawcookie $env(HTTP_COOKIE) } else {...... and I get the error message can't read "env(HTTP_COOKIE)": no such variable while executing "set rawcookie $env(HTTP_COOKIE)" (procedure "Cookie_Get" line 5) invoked from within "Cookie_Get $login(-cookiename)" Schelte.on c.l.tcl says it has been an outstanding tcl bug (#845241) for at least 2 years and suggests a catch for the set. Regards, Paul Nash wenscool.org |