how to retrive hostname,username,password, & databasename from print_r($this->session);

#1
[eluser]aruntvla[/eluser]
when i print $this->session i got config details as

Code:
[ar_cache_set] => Array ( ) [username] => root [password] => [hostname] => localhost [database] => galtech_craigslist


but how i get these values from session

Code:
print_r($this->session->ar_cache_set('username'));
echo $this->session->userdata('password');

these two methods not working...how i get it..plz help me

#2
[eluser]aruntvla[/eluser]
Code:
$f_hostname = $this->db->hostname;
     $f_username = $this->db->username;
     $f_password = $this->db->password;
     $f_databasename = $this->db->database;


now it ok...........


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.