I'm trying to build a site that looks like a site, rather than the final thing, when I will have to worry about securuity and lots of other stuff.
I only have two pages at the moment. The login page is also the front page. I will place "Logout" buttons in all pages, but right now I want to make the button in the main (Login) page to kill the session and stay on that very page.
I am new to this and cannot answer your question if it is a php header that I need.
Also I need to sort out the code inside the main page where the button is.
Thank you for your interest, and sorry I only replied now (it is 8.30 am here)