is it correct to unset the session variable for a particular index as the vay whole session is made
- by OM The Eternity
is it correct to unset the session variable for a particular index as the vay whole session is made unset in PHP?
I know this works: unset($_SESSION['bannersize'])
But does this works ? : unset($_SESSION['bannersize'][3])
or is there any other way to unset any particular desired index of the session and then again rearrange the values inside it to remove the empty index..?