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

How to stay active/logged in, while use a own xenforo template and controller

Discussion in 'XenForo Development Discussions' started by bukso, Aug 11, 2015.

  1. bukso

    bukso Member

    I created a new template and controller by my XenForo, but when I do something on this "new" page/url, after some time I am logged out.

    How to prevent this, or how (for example) to reset the time of the cookie or session with the logged in information while I use my own controllers and templates?

    Best regards
  2. Daniel Hood

    Daniel Hood Well-Known Member

    That shouldn't happen. It only happens on your controller/route/template? Or does it happen in general on other parts of your forum?

    It sounds like maybe your server might not be maintaining the cookies.
  3. bukso

    bukso Member

    Yes unfortunately it happens only on my controller/route, when I am on forums or threads this does not happen.
  4. Daniel Hood

    Daniel Hood Well-Known Member

    We would need to see your code for your controller then.
  5. bukso

    bukso Member

    Hi Daniel,

    it was indeed a server problem. Thank you! :)

    best regards
    Daniel Hood likes this.

Share This Page