is it correct to unset the session variable for a particular index as the vay whole session is made
Posted
by OM The Eternity
on Stack Overflow
See other posts from Stack Overflow
or by OM The Eternity
Published on 2010-06-17T12:15:13Z
Indexed on
2010/06/17
12:33 UTC
Read the original article
Hit count: 185
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..?
© Stack Overflow or respective owner