I'm not sure how to do it with net.data. I wrote my own ILE interface
for handling cookies. You can write a cookie to the browser with the
"SET-COOKIE" HTTP Header. When a browser sends a request to the HTTP
server it automatically sends the cookie, which is stored in an
environment variable named "HTTP_COOKIE". I wrote my own RPG procedure
for parsing the (name=value) pairs which are stored in HTTP_COOKIE, but
I suspect net.data has something that does it automatically. I'd
suggest referring to the net.data reference. Otherwise, you'll need to
figure out some way to retrieve and parse the HTTP_COOKIE environment
variable.
Nathan.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.