Page 1 of 1

Any alternate for session variables?

Posted: Mon Mar 15, 2004 2:58 am
by shwathi
I have a main php page.
There are 10 links from this page to other php pages.
I need to have about 10 variables(containers) in main page such that,
after returning from a sub page, the value retrieved from the sub page is stored in one variable and also that the so far retrieved values from other pages stay alive.
[ Each value is a code from DB about 10K ]
Is it advisable to have session variables for such cases?
If not, what concept of php can be implemented?
What is the maximum storage (size) limit of session variables?

Thanks.
Shwathi.

Posted: Mon Mar 15, 2004 9:46 pm
by ericng0311
Hi Shwathi,

rather than calling the whole 10K of data from the database and store in the session, may be it's better to store just the index value of the data in the session, and have the main page retrieve actual 10k data from the database.

Hope this help

Eric

Posted: Mon Mar 15, 2004 10:09 pm
by infolock
locking this thread. please do not cross/duplicate post.