WebOS Boston Developing for WebOS

28Aug/093

Working with Cookies

Written By: Joseph Crawford

Over the last few days I have been working with the Cookie as a method for storage on the Palm Pre. I looked in the WebOS Book and there was a nice cookie class that could be used. This will not be a complete walk-through like the last tutorials have been. This will show you how to create a cookie object and how to interact with it so that you can store your application preferences. You can store any type of data you would like in a cookie. It does not seem to be like the Depot where you can *only* store objects.

At the time of writing I have found an issue with using cookies so be sure to read the second to last paragraph.
Below is the class that was taken from the WebOS Book which we will be using for our Cookie object.

Tagged as: , , , , 457 Views Continue reading

Navigation

Calendar

<<Jul 2010>>
MTWTFSS
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1

Most Viewed

Categories

StatPress

Visits Today: 3
Total Visits: 3989
Guests Online: 0
Members Online: 0

Archives

Tag Cloud

authors books Bugs Cookie Depot Development directions JavaScript Lists Meetings Mojo Organization Palm Storage Tutorial WebOS WebOS Boston