in reply to Re: Storing an array in a cookie...
in thread Storing an array in a cookie...
I especially disagree in this case becuase if the data in the cookie is used for cash reimbursement is it particularly poor design IMO. In my experience with end users, sales reps on the road etc are not particularly technical, and can do amazing things to their machines (deleting directories etc), hence losing their data and the cash they would have got from it.
Having a persistant data store need not be difficult. It can be as easy as a flat file with DBI (or not) or be as complex as a many table, lots of data, normalised RDBMS information system.
I'm on the wagon of using the cookie for a sess_id then cross referencing it to a user and associated data.
++ for being brave enuff to kick the wagon and offer an alternative backed up by argument.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Storing an array in a cookie...
by Nacho37 (Initiate) on Mar 04, 2002 at 22:16 UTC |