Well, I'm hoping someone who knows for sure can put that question to rest.
I mean, if it treats session and normal vars the same, then why have session vars? 🙂
Now, if unset($_SESSION['username']) made it work then THAT makes sense. Becasue you unset a var that other pages could potentially use.
BUT, if you unset a normal var ($username) that can only be used by the page that set it in the first place, then the next page shouldn't care if you unset it or not. In fact, it shouldn't even know what you did with that var in the previous page.
Like I said, I'd like to see what a php expert has to say about that! 😃