Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Array of Hashes in Cookies

by oneiros (Scribe)
on Sep 15, 2001 at 23:22 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found