Cookies are in an environment variable named HTTP_COOKIE.

You use your favorite toolkit (like our eRPGSDK or CGIDEV2, both of which
have functions to retrieve cookie data already parsed).

Or, use the QtmhGetEnv API to retrieve it and parse it out.

Bradley V. Stone
www.bvstools.com
GreenTools for G Suite/Google Apps <https://www.bvstools.com/g4g.html>:
Easy to use interfaces for GMail, Google Drive, Calendar, Contacts and
Cloud Print! <\body> <\html>

On Thu, Nov 21, 2019 at 12:17 PM anshul narang <narang.anshul@xxxxxxxxx>
wrote:

Hello All

I am trying to use cookies in rest webservices header .How do we read these
cookies in Rpgle program . Can somebody please shed some light on this

--

Thank You

Anshul Narang
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.