Session Array
Posted: Wed Feb 20, 2008 2:52 am
How can i retrieve the password value from this session array. I tried something like $_SESSION['fc_users_cache'][1]['password'] but it's not working. I can easily get the user_name by doing $_SESSION['user']['user_name'] but i'm not able to get the password. Any help would be greatly appreciated.
I did a print_r($_SESSION); to get the following
***** PLEASE USE THE
I did a print_r($_SESSION); to get the following
***** PLEASE USE THE
Code: Select all
TAG WHEN POSTING *****[/color]
Code: Select all
Array
(
[user] => Array
(
[user_id] => 1
[user_name] => admin
[time_zone] => 0
)
[url] =>
[admin] => Array
(
[is_logged_in] => 1
)
[pstart] => 0
[vstart] => 0
[astart] => 0
[mstart] => 0
[fstart] => 0
[fc_users_cache] => Array
(
[1] => Array
(
[user_id] => 1
[user_name] => admin
[password] => adminpass
[referrer_id] => 0
[first_name] => admin
[last_name] => admin
)
)