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

XF 1.2 user being logged out when registering

Discussion in 'XenForo Questions and Support' started by erich37, Feb 26, 2014.

  1. erich37

    erich37 Well-Known Member

    I am not sure if this is a XF-bug or if this is normal behaviour ?

    - register as a new user
    - wait for the confirmation Email
    - click the Confirmation-Link in the E-mail (which opens a new browser window)

    user is being logged-out when clicking the Confirmation-Link in the E-mail

    I have just tested this with XF-version 1.2.5
    IE-Browser 11

    Last edited: Feb 26, 2014
  2. erich37

    erich37 Well-Known Member

    I think this is a XenForo-bug.

  3. Jeremy

    Jeremy Well-Known Member

    Did you register under .domain.com and have www.domain.com set as your board URL?
  4. erich37

    erich37 Well-Known Member


    - my website is always using www.domain.com
    - the register-page is using www.domain.com
    - also the Link in the "confirmation email" is www.domain.com

    I have not changed anything in my setup of the website.
    I do remember that a user was not logged-out previously, something has changed between XF-version 1.2 and XF-version 1.2.5
    Last edited: Feb 26, 2014
  5. Chris D

    Chris D XenForo Developer Staff Member

    Unless you can reproduce it here, it's unlikely to be a bug.

    I'd recommend providing a link to your site or opening a support ticket.
    Amaury likes this.
  6. erich37

    erich37 Well-Known Member

    it is actually like this:

    the user is still logged-in at the page at which he registered / at the page which says "waiting for account confirmation"

    but when clicking the "confirmation-link in the Email", this confirmation-link opens a new browser-window.
    at this page in the new-browser-window, the user is not logged-in.
  7. Mike

    Mike XenForo Developer Staff Member

    I have seen situations where the cookies aren't sent in a new browser window. In that case, there's nothing we can do about it. (I don't believe anything in this area has changed for some time.)
  8. erich37

    erich37 Well-Known Member

    I can indeed reproduce it here:

    logged-in at this page:


    not logged-in at this page:

    Last edited: Feb 26, 2014
  9. RoldanLT

    RoldanLT Well-Known Member

    Obviously because they are not the same browser.
    This is normal I think.
    Mike likes this.
  10. Chris D

    Chris D XenForo Developer Staff Member

    Yep, spot on. Well done for noticing. I looked at the screenshots before and didn't catch on that they are different browsers.

    This is perfectly normal behaviour. Cookies are local to the browser. If the user confirmation link was opened in the same browser the account would be confirmed and it would remain logged in.
  11. erich37

    erich37 Well-Known Member

    ohh... my mistake.

    However, it is the same issue if you use IE-browser only.

    I have tested it on another computer which has only IE-browser installed.
    Last edited: Feb 26, 2014
  12. erich37

    erich37 Well-Known Member

    case closed.

    I can not reproduce it here at xenforo.com

    Need to check again on my own website with another computer......

Share This Page