[PHP] using SESSIONS to store page 2 page variables
Hi, Is it advisable to use SESSIONS to store variable from one page to another page instead of using something like a hidden field? eg: $_SESSION['sql_sort_cat'] $_SESSIOn['sql_sort_dir'] instead of input type=hidden value=?php $sql_sort_cat? Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] using SESSIONS to store page 2 page variables
No problem, but remember the user might want to bookmark the page. Ow Mun Heng wrote: Hi, Is it advisable to use SESSIONS to store variable from one page to another page instead of using something like a hidden field? eg: $_SESSION['sql_sort_cat'] $_SESSIOn['sql_sort_dir'] instead of input type=hidden value=?php $sql_sort_cat? Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] using SESSIONS to store page 2 page variables
I think it's OK since users needs to be authenticated. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 4:46 PM To: Ow Mun Heng Cc: [EMAIL PROTECTED] Subject: Re: [PHP] using SESSIONS to store page 2 page variables No problem, but remember the user might want to bookmark the page. Ow Mun Heng wrote: Hi, Is it advisable to use SESSIONS to store variable from one page to another page instead of using something like a hidden field? eg: $_SESSION['sql_sort_cat'] $_SESSIOn['sql_sort_dir'] instead of input type=hidden value=?php $sql_sort_cat? Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php