hi all,
i had done a logout page. so wen we click on logout i am getting out but wen i click on back button i am again going to my account. so wat can i do..any idea...?
thank u..
---logout.php----

<?php
       ob_start();
       @session_start();
       require_once ("check.php");
      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>

You could use a header re-direct to reload the logout page? Not sure if this is a fool proof solution though

header ('Location: /logout.php);
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.