• 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

erich37

Well-known member
#1
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)


issue:
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


:confused:
 
Last edited:

erich37

Well-known member
#4
No.

- 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:

Chris D

XenForo developer
Staff member
#5
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.
 

erich37

Well-known member
#6
it is actually like this:

1)
the user is still logged-in at the page at which he registered / at the page which says "waiting for account confirmation"
http://www.domain.com/register/register


2)
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.
 

Mike

XenForo developer
Staff member
#7
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.)
 

Chris D

XenForo developer
Staff member
#10
Obviously because they are not the same browser.
This is normal I think.
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.
 

erich37

Well-known member
#12
O.K.
case closed.

I can not reproduce it here at xenforo.com



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