On Fri, 2005-09-23 at 06:57 -0400, Thorpe Mayes wrote: > Why does this adp code work: > ns_sendcookie $conn $jar userinfo "/" [expr [ns_time] + 31536000] "$host" > "" > > but this tcl code not work: > ns_sendcookie conn $jar userinfo "/" [expr [ns_time] + 31536000] $host ""
In addition to ns_writes already sending content before the headers have gone out, you are also missing the $ on the tcl version. In other news, it made me giddy to see someone using my cookies.tcl code :) Daniel -- | --------------------------------------------------------------- | Daniel P. Stasinski | http://www.disabilities-r-us.com/ | [EMAIL PROTECTED] | http://www.scriptkitties.com/ | --------------------------- | --------------------------------- | Jabber: [EMAIL PROTECTED] | Google Talk: mooooooo -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
