I know if session is not destroyed at the end of some specific task then it will retain its values and could create problems next when you use it. But when you say destroying a session then does it mean ending the session like this
session_end()
or it means that you have to unset some specific session which u have set before by doing this.
unset($_SESSION['id']
)
etc. And if i start a session at the top of every page and do not set it by $_SESSION['id'] etc then could that create problem for me. If yes then why i haven't got proper answer to this anywhere.