![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: html and cookie expirationby tjh (Curate) |
on May 05, 2003 at 13:03 UTC ( [id://255607]=note: print w/replies, xml ) | Need Help?? |
If I understand correctly, you're thinking of storing actual user-entered data in a cookie that gets recalled, possibly altered and stored again, or used. Security and data integrity problems aside (and they're numerous, both in data storage in cookies, and in hidden form fields), I'd recommend:
This way, you can retrieve and add to or alter the data on the server, rather than the browser, and you don't have to worry about cookies expiring, cookie length restrictions, and the like. An excellent article about just such as arrangement, by our very own merlyn, is Here. Also, a Super Search about sessions and state will show many other discussions, and some snippets, that are helpful.
In Section
Seekers of Perl Wisdom
|
|