Cache Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DaedalusShadow
    New Member
    • Mar 2007
    • 8

    Cache Problem

    I've got this piece of code;
    [php]
    <?php
    session_start() ;
    $LogCheck=$_SES SION['LogFail'];
    if($LogCheck==" True")
    {
    $LogRes="Incorr ect Username or Password";
    }
    elseif($LogChec k=="Pass")
    {
    echo '<meta content="0; URL=home.php" http-equiv="Refresh" />';
    $LogRes="Logged In";
    }
    else
    {
    $LogRes="";
    }
    ?>[/php]
    The problem is even when I destroy the session, if the user has logged in successful before then the page is stored in their cache and it's not checking LogCheck it's just forwarding them because it hasn't been refreshed. Is there anyway I can clear the cache or force the page to refresh so it doesn't do this?
    Last edited by ronverdonk; Mar 5 '07, 04:14 PM. Reason: code within tags and warning
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    I have asked you before in your threads to show code within code or php tags!!

    If you cannot comprehend what I am asking, read the Posting Guidelines at the top of this forum before you post any further!

    moderator

    Comment

    • DaedalusShadow
      New Member
      • Mar 2007
      • 8

      #3
      opps sorry I hadn't seen your post before, I will do in future.

      Comment

      Working...