Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: cookie WebDatData dumpinputdata
WebOut('Content-type: text/html', 1) ; Note only 1 LF here WebOut('Set-Cookie: useridcode=Fred;',2) ; Note 2 LF's here to stop header WebOutFile('c:\home\some.html')The above code will set a cookie "useridcode" to value "Fred"
http://your.computer.com/webcgi/webbatch.exe?dumpinputdataand see how it shows up there. Then a WebDatData ought to be able to pick it up.
Using the example above
useridcode=WebDatData("useridcode")Should return the value "Fred"
The WebBatch website is created using weber files and has some examples of how they work (see the "how was this done" button).
Article ID: W12477
File Created: 2017:07:28:12:58:11
Last Updated: 2011:06:07:07:14:00