hi all,
i am having a problem with logout. whenever i click on logout it wil logout but wen we click back it is going to the previous page page even after logout. so i want to avoid that. so can any one..
Thank u..

------logout.php----------

<?php
       ob_start();
       @session_start();
      session_destroy();
      echo "<strong style='color:#FF3333'>"."<left><h1>Successfully logged out.</h1></left>"."</strong>";
      ?>
      <html>
      <link rel="stylesheet" type="text/css" href="style.css"/> 
      <body>
      <table><tr><td><a href="login.php"><h1>Login Again ?</h1></a></td></tr></table></body></html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.