RE: [PHP-DB] Re: Using $_SESSION array for large number of variables. Any recommendations?

2004-04-25 Thread Peter Lovatt
Hi, I would suggest a mysql table for the data. For large amounts it is probably more efficient - not sure how much resource is needed to manage 100K pieces of information using $_SESSION, but an indexed mysql table is probably much quicker. table CREATE TABLE `session_data` ( `userID` VARCHAR(

Re: [PHP-DB] Re: Using $_SESSION array for large number of variables. Any recommendations?

2004-04-25 Thread Kelly Hallman
Apr 25 at 7:48pm, Jimmy Brock wrote: > I would recommend cookies, not session. > > Cookies are stored on the users machine, whereas session data is stored on > the server. If you have a power failure or have to reboot the server session > data will be lost -- since session data is stored in memory