1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Having problem staying logged in with FB integration

Discussion in 'Troubleshooting and Problems' started by gabrieldespinoza, Sep 30, 2014.

  1. I am not sure if this situation. But on my site I log in via Facebook integrated connect. I also choose the "stay logged in" option prior to connecting to my site. I am still logged into Facebook.com just fine, however, anytime I stray away from my site, I keep getting logged off and have to connect each time to my site. All day yesterday it worked just fine, I would log in once and stay logged in all day. Is there anything I can do?
     
  2. Mike

    Mike XenForo Developer Staff Member

    If it worked one day and didn't work the next, I would try to identify what changed on your end.

    Logging in via FB does automatically set a cookie that should cause you to be logged in when you come back. The only reason that wouldn't work is if it expired or was removed (or you did something else to invalidate it, like changing your password). It would be reset on next login though.
     
  3. AndyB

    AndyB Well-Known Member

    Could be a corrupt cookie issue, I suggest deleting all cookies in your browser and see if that corrects the problem.
     
  4. @AndyB @Mike I figured it out late last night. It was due to the fact that I had both my www domain name and bare domain name active. If I went to "example.com" and then logged with Facebook integrated connect it would redirect to my www. domain name. Then when I would leave the site and go back to the bare domain I was not logged in. I had to force www. domain so anyone who would hit the bare name would redirect to the www.

    Thanks for your help! Case is closed :)
     

Share This Page