cookies issue
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Yes, in 2.0.6
1 Re: cookies issue
error
OP
232
From: -
From: -
Works like a charm. Thanks.
I was wondering do you apply all this changes in future releases?
I was wondering do you apply all this changes in future releases?
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I just did a small modification that may fix the logout issue. Let me know if this work.
class_uwrapper_ipb3.zip
class_uwrapper_ipb3.zip
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I keep an eye on it but need to reproduce the issue first on my local test installation.
1 Re: cookies issue
error
OP
232
From: -
From: -
Tested for hours and forum is ok. No more logout after some time issue. Both login/logut works well. Only one thing. After some time members are logged out of frontpage and not from forum.
1 Re: cookies issue
error
OP
232
From: -
From: -
Yes, login/logout work both ways. Will keep eye on logged out after some time.
Thank you Philipp
Thank you Philipp
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Working on it right now
1 Re: cookies issue
error
OP
232
From: -
From: -
When I login from forum im loged in in CT frontpage. When I log out from forum i'm logged out on CT frontpage.
When i login from CT i'm not logged in on forum. When i log out from CT frontpage im not logged out on forums.
IPB 3.0.5
Only cookie path set to: /
CT 2.0.5
Only cookie path set to: /
When i leave site and come back i have to login everytime. Other members too even if they check: remember me.
When i login from CT i'm not logged in on forum. When i log out from CT frontpage im not logged out on forums.
IPB 3.0.5
Only cookie path set to: /
CT 2.0.5
Only cookie path set to: /
When i leave site and come back i have to login everytime. Other members too even if they check: remember me.
1 Re: cookies issue
error
OP
232
From: -
From: -
After upgrade to IPB 3 cookies issue is back.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Thanks for the update. I am glad to hear that this solved the logout issue.
1 Re: cookies issue
error
OP
232
From: -
From: -
Seems like logout issue is solved.
Thanks
Thanks
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Here another update. Unzip the file and upload it to your /classes directory.
Let me know if this fix the issue.
class_uwrapper_ipb2.zip
Let me know if this fix the issue.
class_uwrapper_ipb2.zip
1 Re: cookies issue
error
OP
232
From: -
From: -
Member's log in key: Expiration - Do Not Expire
Reset member's log in key upon each log in? - NO
Session Expiration (in seconds) - 1800
Reset member's log in key upon each log in? - NO
Session Expiration (in seconds) - 1800
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Yes, the pass_hash key rotate often on your installation.
Can you please take a look at the following settings in IPB2 admin:
Tools & Settings => View All General Settings => Security and Privacy
Which values are you using for:
Member's log in key: Expiration
Reset member's log in key upon each log in?
Session Expiration (in seconds)
Can you please take a look at the following settings in IPB2 admin:
Tools & Settings => View All General Settings => Security and Privacy
Which values are you using for:
Member's log in key: Expiration
Reset member's log in key upon each log in?
Session Expiration (in seconds)
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
The only issue I can reproduce is the logout issue. I hope to have a fix for it in the next 2 days.
The authorization mismatch or login issue is something that I can't reproduce anymore. Did the users in question actually cleared the cookies/browser cache and then restart the browser? This is an important step after an older cookie could cause this problem.
The authorization mismatch or login issue is something that I can't reproduce anymore. Did the users in question actually cleared the cookies/browser cache and then restart the browser? This is an important step after an older cookie could cause this problem.
1 Re: cookies issue
error
OP
232
From: -
From: -
If i not solve this cookies or what is it error i will have to abandon CT as cms of choice.
I get hundreds mails from members who can't login and get authorization mismatch. Everything worked well for several years.
I get hundreds mails from members who can't login and get authorization mismatch. Everything worked well for several years.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I discovered so far two behaviors:
1) Logging in from Contentteller will keep me logged-in for 2 hours in both Contentteller and IPB.
2) Logging in from IPB will keep me logged-in in IPB but logged me out after a while in Contentteller. Revisiting the forum again will log me back in Contentteller.
I suspect that IPB will expire the pass_hash after a while. This would explain the temporary logout. I will do some more tests later on my local test installation.
1) Logging in from Contentteller will keep me logged-in for 2 hours in both Contentteller and IPB.
2) Logging in from IPB will keep me logged-in in IPB but logged me out after a while in Contentteller. Revisiting the forum again will log me back in Contentteller.
I suspect that IPB will expire the pass_hash after a while. This would explain the temporary logout. I will do some more tests later on my local test installation.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I will keep an eye on it. I am current logged in for the last 30 minutes on your website but so far no problem. Perhaps it is a browser specific issue?
1 Re: cookies issue
error
OP
232
From: -
From: -
Contentteller. It's definitely CT issue.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Where does it logout first? In Contentteller or IPB?
1 Re: cookies issue
error
OP
232
From: -
From: -
yes, but we loose cookies after some time and need to login again. i can't figure out why cookies disapear or expire, whatever.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Look like you changed in the meantime the cookie domain. Your site is now working fine for me. I only had to delete all old msfn cookies in the browser.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I just register on your website. The cookie issue is caused by cookie domain mismatch.
Basically, Contentteller is using www.msfn.org (the address entered in the browser) as cookie domain while IPB2 is always using .msfn.org. Removing .msfn.org from the Cookie Domain field in IPB2 admin should fix the problem.
Not sure what the wrong usernames cause but I will investigate the problem shortly.
Basically, Contentteller is using www.msfn.org (the address entered in the browser) as cookie domain while IPB2 is always using .msfn.org. Removing .msfn.org from the Cookie Domain field in IPB2 admin should fix the problem.
Not sure what the wrong usernames cause but I will investigate the problem shortly.
1 Re: cookies issue
error
OP
232
From: -
From: -
I just got this:
Welcome back cy2967 !
Thats another member, not me. I used my login and password.
When i login through CT i got this:
Welcome back cy2967 !
and on the forum:
Logged in as: xper
Welcome back cy2967 !
Thats another member, not me. I used my login and password.
When i login through CT i got this:
Welcome back cy2967 !
and on the forum:
Logged in as: xper
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I suspect there is something with the cookie setup that cause a conflict between the Contentteller generated cookies and the original IPB2 cookies.
1 Re: cookies issue
error
OP
232
From: -
From: -
When I close browser and open again im logged out. Why?
1 Re: cookies issue
error
OP
232
From: -
From: -
OK. Will try that setup.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
I did that but im not logged in in CT after login through forum.
Works fine on my test setup. Login in IPB2 will also login in CT.
I currently use the following settings in IPB2:
Cookie Domain: empty
Cookie Name Prefix: empty
Cookie Path: empty
Create a stronghold auto-log in cookie? Yes
and in Contentteller (Manage Websites):
Cookie prefix (optional): empty
Cookie path (optional): /
Cookie name: empty
I put back CT login. This is what happens:
To take full advantage of all features you need to login or register. Registration is completely free.
When I click login i get this:
Error
You can't login because you are already logged in.
You need to clear the cookies or logout
1 Re: cookies issue
error
OP
232
From: -
From: -
I put back CT login. This is what happens:
To take full advantage of all features you need to login or register. Registration is completely free.
When I click login i get this:
Error
You can't login because you are already logged in.
To take full advantage of all features you need to login or register. Registration is completely free.
When I click login i get this:
Error
You can't login because you are already logged in.
1 Re: cookies issue
error
OP
232
From: -
From: -
I did that but im not logged in in CT after login through forum.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Hmm.. Contentteller is not changing the pass_hash in the middle of a session?
The only function that create cookies/added sessions is login. You could try to use IPB2 login function instead.
You could do this by changing the template site_login_anon and replacing the login link:
with:
The only function that create cookies/added sessions is login. You could try to use IPB2 login function instead.
You could do this by changing the template site_login_anon and replacing the login link:
contentteller{$insert['param_ext']}{$insert['param_ct']}users{$insert['param_action']}login{$insert['param_page']}index.html
with:
http://www.msfn.org/board/index.php?act=Login&CODE=00
1 Re: cookies issue
error
OP
232
From: -
From: -
At the time of reply
session_id.msfn.org/ 49c287ea339ffe846695f9f6bd2a4bf5
pass_hash.msfn.org/ c7f06a3e0abxxxxxxxxxxxxORIGINAL
wait 22 minutes
values after getting mismatch error
session_id.msfn.org/ 49c287ea339ffe846695f9f6bd2a4bf5
pass_hash.msfn.org/ 3621f1454xxxxxxxxxxxxDIFFERENT
another member reply:
WTF, I have the same password hash?
A few more characters to confirm: 3621f1454cacf99xxxxxxxxxxxxxxxxx
EDIT: Confirmed with Tripredacus that the hashes were the same.
There is something wrong with script. Members have same password hashes.
1 Re: cookies issue
error
OP
232
From: -
From: -
I still have a lot of issues.
I'm having to log in again/auth error when I click in a subscription email. You need to give it some time from your last browsing session to see it. I also get a session ID in my address bar when I get here after clicking the link....site not seeing my cookie.
Tried clearing cookies but still happens.
I'm still getting the authorization mismatch error when using the "Fast Reply" box every so often.
It happens with fast reply, reply and new topic.
Still being asked to login everytime i close & open browser.
People get authorization mismatch when sending PM. People cant login.
I'm having to log in again/auth error when I click in a subscription email. You need to give it some time from your last browsing session to see it. I also get a session ID in my address bar when I get here after clicking the link....site not seeing my cookie.
Tried clearing cookies but still happens.
I'm still getting the authorization mismatch error when using the "Fast Reply" box every so often.
It happens with fast reply, reply and new topic.
Still being asked to login everytime i close & open browser.
People get authorization mismatch when sending PM. People cant login.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Here an updated integration script to fix the login issue. Unzip the archive and upload it to the classes directory.
class_uwrapper_ipb2.zip
class_uwrapper_ipb2.zip
1 Re: cookies issue
error
OP
232
From: -
From: -
Yes, they do. It just came to my attention that you will be logged out of ct cms after some time automaticaly.
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
The only issue I can reproduce so far is the problem that login from CT will not automatically login on the forum. It seems one of the last IPB 2 updates added additional security features to prevent cookie stealing. I will look into it tomorrow in the office.
Do your users get still the authorization mismatch error after you moved the CMS to the root?
Do your users get still the authorization mismatch error after you moved the CMS to the root?
1 Re: cookies issue
error
OP
232
From: -
From: -
Since i put CT online i have a lot of issues with forum and ct.
Forum requiring often login. - MSFN Forums
Forum requiring often login. - MSFN Forums
1 Re: cookies issue
error
OP
232
From: -
From: -
I moved ct in root folder. When i login in forums i'm logged on ct too but when i login on ct im not logged in on forums.
"Everyone can post a comment?" is disabled
"Everyone can post a comment?" is disabled
1 Re: cookies issue
Philipp Esselbach
From: -
Editor
0From: -
Is the option "Everyone can post a comment? (optional)" enabled under News Preferences? This option allow everyone (including unregistered users) to post comments.
my site is like this: www.****.org/cms
forum is: www.****.org/board
and i can't figure out cookies setup. forum is IPB 2