|  | Posted by crescent_au on 10/31/06 09:25 
>Koncept wrote:> Just curious what happens if you add these headers to the previous
 > pages?
 >
 > ( code from docs )
 >
 > <?php
 > header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
 > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
 > ?>
 >
 > And this for the destruction of the session:
 >
 > <?php
 > $_SESSION = array();
 >
 > // Note: This will destroy the session, and not just the session data!
 > if ( isset( $_COOKIE[session_name()] ) )
 >    setcookie( session_name(), '', time() - 42000, '/' );
 >
 > // Finally, destroy the session.
 > session_destroy();
 > ?>
 >
 
 No, still the same. I don't have any cookies set. I've only used
 sessions in my code but anyway I tried all the above you have suggested
 but there is no difference in the outcome. I hope someone can help me
 with this.
 
 If you want the codes, I can even email you the codes. Just let me know
 by email. I really need to get this fixed.
 
 Thanks
  Navigation: [Reply to this message] |