rain13 Posted August 19, 2010 Share Posted August 19, 2010 http://autoit.pri.ee/svn/If you login with:User:testPass:testYou get logged in sucessfully, but when you refresh page (hit f5 at firefox) then for somereason firefox sais this:What causes firefox display this message on refresh? and how to fix this? Do I have to notify firefox somehow after login? This message don't pop up when I press f5 on other sites that require login. Only happens on my site.Any fix/idea what might cause this? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 20, 2010 Share Posted August 20, 2010 It shows the message because when you press refresh you are resubmitting the form, and Firefox is asking if you want to do that. Other sites avoid that by redirecting the user after they log in. If you log in on this forum, you see a page telling you that you're being redirected. Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted August 20, 2010 Share Posted August 20, 2010 You can also redirect users to the page they came from, as in the case of YouTube. Or you can offer users a link to continue the action flow on the success page (most likely a link to return to the home page, or perhaps to edit account settings). Link to comment Share on other sites More sharing options...
rain13 Posted August 20, 2010 Author Share Posted August 20, 2010 I use thsi code to redirect users. But I still have that problem.echo '<meta http-equiv="Refresh" content="3;url='. $_SERVER['REQUEST_URI'].'"/>' Link to comment Share on other sites More sharing options...
justsomeguy Posted August 23, 2010 Share Posted August 23, 2010 After it redirects and you refresh you still see that message? Link to comment Share on other sites More sharing options...
rain13 Posted August 24, 2010 Author Share Posted August 24, 2010 For some reason I Hand to navigate to other page such as loginsuccess.php and then back to main page to solve that issue. just refreshig main page didn't help me for somereason. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.