View Full Version : SessionTimeout problem in Mozilla

08-27-2009, 12:44 PM
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 ..:)

08-27-2009, 01:20 PM
Location requires an absolute uri, see this link for more information: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30