Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Array of Hashes in Cookies

by oneiros (Scribe)
on Sep 15, 2001 at 23:22 UTC ( #112653=note: print w/replies, xml ) Need Help??


in reply to Re: Array of Hashes in Cookies
in thread Array of Hashes in Cookies

Yesh.

I agree. It's IMHO of course, but I prefer to store datasets like that on the server-side. This is much safer since it prevents the user from altering or poisoning their data. If you're not careful you can accept some poisoned data and bad things could happen. The effects of this will depend on the nature of your app, and what you're doing with that data.

There is also a size limit with cookies, if you need to keep a large amount of data tied to a user, sometimes you'll hit that wall.

In addition to Storable, check out Apache::Session.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://112653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2023-03-20 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?