Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL/$_SESSION Performance Advice

Status
Not open for further replies.

SetoKaiba

Programmer
Jun 16, 2004
28
US
Hi.
I am creating a system that will use both MySQL and the $_SESSION variable, and there will be data that users carry as they navigate the site, in fact, a lot of data. Some data will change a lot, some will not. I have an idea of what to throw into MySQL, and $_SESSION, but there is some data that I don't want to have crunched a lot during runtime.
Basically, this data is an array of numbers (stored as a string, with a delimiter), which has to be expanded into a select field, where the numbers have name entries in the database. I don't want these select fields to be built at runtime for each page, rather, stored as a string in the $_SESSION variable or MySQL. The string would be about 1K max in size and has to be available each page load. Any suggestions on what to use?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top