|
Justin, You might want to look at the cookie API in Relational-Web: Adding any number of variables to a cookie is handled nicely by the cokVarPut() function. And retrieving them is handled nicely by the cokVarVal() function. However, you might want to consider the session API for storing variables on the server, rather than storing a lot of data in a cookie. http://www.relational-data.com/products/rweb/docs/docframeset.htm cokClr() - Clear Cookie cokCnt() - Get Cookie Count cokCrt() - Create Cookie cokNam() - Get Name cokToStr() - Cookie to String cokVarCnt() - Get Variable Count cokVarNam() - Get Variable Name cokVarPut() - Set Variable Value cokVarRmv() - Remove Variable Value cokVarVal() - Get Variable Value Nathan M. Andelin www.relational-data.com Copyright (c) 2002 Nathan M. Andelin, all rights reserved. ----- Original Message ----- From: <justin@reliatek.com> To: <web400@midrange.com> Sent: Monday, June 24, 2002 2:28 PM Subject: [WEB400] Multiple items in a cookie > Is there a way using the CGIDEV2 method of creating cookies to have > multiple items under the same cookie name like you can do with JAVA Script? > For instance I would like to have a cookie that would contain three item > numbers in it. ITEM=Processor, ITEM=Hard Drive, ITEM=Fans...etc.... > > > Thanks, > > Justin Houchin > Programmer and Web Developer > ReliaTek, Inc > justin@reliatek.com >
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.