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

XF 1.4 Session ends if internet connection changes

Discussion in 'Troubleshooting and Problems' started by RichardKYA, Jun 1, 2015.

  1. RichardKYA

    RichardKYA Well-Known Member

    I am having a major problem which is, my sessions seem to end if my internet connection changes.

    I can recreate the problem time after time by simply changing my wifi connection.

    How can I fix this?

    Thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Do you have "Stay logged in" checked?
     
  3. RichardKYA

    RichardKYA Well-Known Member

    Hello Brogan,

    No I don't, will checking this option prevent this from happening?

    If this is the problem, how can I force all users to "stay logged in"? As checking this option may only prevent the problem for myself.

    Thank you
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It should prevent it, yes.

    You can't force it on other members, they need to choose the option themselves the next time they log in.
     
  5. Mike

    Mike XenForo Developer Staff Member

    If your IP changes, your existing session won't be used. This is a security feature. Selecting the option to stay logged in adds a cookie which automatically recreates the session as needed.
     
    rafass likes this.
  6. rafass

    rafass Well-Known Member

    This is not a problem, this is an advantage.
    Each time I change my IP I have to login in again.
    is a great security feature.
     
  7. Liam W

    Liam W Well-Known Member

    It is a security feature, however I used to be on a mobile network that would change your IP when your were still connected.

    It was really rather annoying...

    Liam
     
  8. RichardKYA

    RichardKYA Well-Known Member

    Yeah, sorry, forcing them is not what I want to do, it was a rhetorical question ;)

    My problem is, my site is aimed at people that are active and constantly on the move, so staying logged in when on a mobile is not recommended for security reasons, but then it is frustrating when you are on a mobile that is constantly searching for a new connection and changing IP's all the time, so it's a catch 22 situation

    Is there a way to make sessions user based instead of IP based?

    This is exactly my problem.

    It's frustrating when on a mobile device.

    Thank you for your responses, I appreciate them all :)
     

Share This Page