Jumpy09 Posted May 25, 2010 Share Posted May 25, 2010 <script> $(document).ready(function() { $("#shoutbox").load("shoutbox.php"); var refreshId = setInterval(function() { $("#shoutbox").load(\'shoutbox.php\'); }, 5000); }); </script> <div>Shoutbox</div> <div id="shoutbox" style="width:225px;height:130px;overflow:auto;"> </div> The problem here is that I am using a paging system with $_GET['blah']; and this is setting my $session->referrer to shoutbox.php. I need it to stop, it's getting aggravating that every redirect ends up going to the shoutbox. I don't know any other way to do what I need, as the shoutbox needs to update constantly to keep new messages up. I wouldn't mind direction toward something else, or a fix to this. I don't really know how to fix it. Quote Link to comment Share on other sites More sharing options...
Adam Posted May 28, 2010 Share Posted May 28, 2010 How about $_SERVER['REFERER']? We're unable to see the $session object you're using there, so can't say how it's populating the 'referer' property. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.