|
Check the HTTP headers for the contents of the HTTP_Cookie value(s). Ken Slaugh (707) 795-1512 x118 Chouinard & Myhre, Inc. AS/400 Professional Administrator/MSE Client Access Specialist http://www.cm-inc.com/ "Mark A. Manske" <mmanske@minter-we To: "'WEB400 \(E-mail\)" <WEB400@midrange.com> isman.com> cc: Sent by: Subject: [WEB400] reading cookies into rpg-cgi web400-admin@midra nge.com 09/04/2001 09:01 AM Please respond to web400 I have looked over some things, but I do not have a clear understanding of "how" I can read a cookie into my RPG program to process a "basket". Am I missing something obvious, or is it more complex than that??? I can tell that you can get the cookie, return it as a string - but say I have an apply button; and within the cookies I have multiple records to update, how do I set the string up so that the RPG can read in the data?? Also the cookie would need the following fields to work effectively for me (item#/amount/percent/qty/dept#/sku#) I would also want the cookies to expire within an hour or less, and the examples I have found do not really tell me how to put in the time formulas I need; they are either set back so they expire or set so far up that they really never expire... Any suggestions as to where to look to feel more comfortable with cookies (I have Brad's book, it is a good start, but I was hoping for an example that was more complex - unless I am over complicating this by my un-easiness with this "new" language of JavaScript and working with cookies) TIA Mark A. Manske Minter-Weisman Sr. Project Lead http://www.minter-weisman.com mailto:mmanske@minter-weisman.com _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/web400 or email: WEB400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
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.