Writing to a field in a cgi stack

Sarah Reichelt sarah.reichelt at gmail.com
Thu Apr 10 20:20:16 EDT 2008


Hi All,

I'm writing a cgi stack to return some data. It's working fine and
grabbing data from text files stored locally. In my browser I can test
that I'm getting the correct data back. However I was hoping to be
able to use fields in the cgi stack for logging. When a request comes
in, I have tried using:
    put pQuery into fld "DataIn" of stack "WebData"
I don't get any error message, "the result" is empty, but nothing
appears in the field.
There is a field of that name, the stack is named correctly and I know
pQuery has some data in it.

Am I trying to do something that is impossible from a CGI script? If
so, I can just write a separate log file, so it's no big deal, I just
wondered.

I'm using the Mac OS X engine from Rev 2.9.0-gm-1 and I've tried with
and without the -ui option.

Cheers,
Sarah



More information about the use-livecode mailing list