Your this tutorial hleped me to understand session, finally.But I have one Confusion, despite you closed the browser window(When logout.php page was not created).I learned that whether you logout or not, if you close browser window, session is automatically destroyed. But when you closed the window and again you put member.php, how come-Please help me to understand Alex?