how to unregister session stored as multidimensional array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is this possible at all:
I have stored info from form in session:
$_SESSION['client']['name'] = 'Name'
$_SESSION['client']['address'] = 'Address'
$_SESSION['client']['city'] = 'City'
$_SESSION['client']['state'] = 'State'
$_SESSION['client']['zip'] = 'Zip

Now, I want to unregister all $_SESSION['client'] info EXCEPT $_SESSION['client']['name'].

With
session_unregister('client');
I clear everything.

session_unregister('address');
doesn't clear this session.

session_unregister($_SESSION['client']['address']);
doesn't work.

What am I doing wrong?

Thanks for any help.

-afan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux