Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2009
    Location
    Bangalore
    Posts
    75
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question SessionTimeout problem in Mozilla

    Hi All,

    In case of session timeout happens the page is redirecting properly in case of IE
    but it is giving page cannot be displayed in case of mozilla,

    Code I am using for it is

    if ((time() - $_SESSION['timestamp']) > $minutes*60)
    {
    header("Location: index.php?sessionout=true");
    }

    Can any one help me how to make it compatible in both IE and Mozilla.

    Thanks in advance ..

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Location requires an absolute uri, see this link for more information: http://www.w3.org/Protocols/rfc2616/....html#sec14.30
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •