× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Are these API's apart of CGIDEV2?

-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com] On
Behalf Of Nathan M. Andelin
Sent: Monday, June 24, 2002 5:33 PM
To: web400@midrange.com
Subject: Re: [WEB400] Multiple items in a cookie

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
>


_______________________________________________
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 thread ...

Replies:

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

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.