Users not staying logged in on ios/android

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
jhnmdahl
Registered User
Posts: 15
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Users not staying logged in on ios/android

Post by jhnmdahl » Thu Oct 12, 2017 1:41 am

I've had several complaints (and noticed myself on my iphone) that clicking the box to stay logged in doesn't result in staying logged in my PHPBB forum on mobile devices, but it seems to work on desktops. My iphone is set to receive cookies and works ok with staying logged in to other sites, but I'm hoping someone can point me in the right direction.

Details are:
site is www.cobaltchat.com
Running phone 3.2.1, php 7
host is bluehost.com

cookie settings are:
domain - www.cobaltchat.com
cookie name - phpbb3_nwucx
cookie path - /
cookie secure and notice are disabled

Thanks in advance for your ideas,

John
Administrator of cobaltchat.com - a Cobalt Boats web forum

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Users not staying logged in on ios/android

Post by rxu » Thu Oct 12, 2017 5:05 am

You could try if setting cookie domain to .cobaltchat.com would help (leading dot matters).

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18003
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Users not staying logged in on ios/android

Post by Mick » Thu Oct 12, 2017 11:46 am

FWIW - I’ve never been able to stay logged in on iOS phone, pad and desktop (in several different locations and OS’s) work fine. I’ve never worried about it though as I don’t like using my phone for BB’s, they’re much better suited to making calls and texting IMHO.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
david63
Jr. Extension Validator
Posts: 12949
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Users not staying logged in on ios/android

Post by david63 » Thu Oct 12, 2017 11:52 am

Mick wrote:
Thu Oct 12, 2017 11:46 am
they’re much better suited to making calls and texting IMHO.
You're such a Luddite :lol: :lol: :lol: :lol:
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email or as they will be ignored

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18003
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Users not staying logged in on ios/android

Post by Mick » Thu Oct 12, 2017 11:55 am

Well, I am from Nottingham :D
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 47876
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Users not staying logged in on ios/android

Post by stevemaury » Thu Oct 12, 2017 3:22 pm

I have no problem staying logged in on an Android phone (Galaxy). Your domain setting should be .cobalt.com
For REALLY good and VERY inexpensive hosting CLICK HERE

All unsolicited PMs will be ignored.

jhnmdahl
Registered User
Posts: 15
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl » Thu Oct 12, 2017 4:07 pm

Changed the domain setting to .cobaltchat.com about 10am central this morning - I'll report back on whether my members have fewer problems.

I thought I had set the cookie domain correctly based on the article posted at:
https://www.phpbb.com/support/docs/en/3 ... -settings/

Thanks for the help,

John
Administrator of cobaltchat.com - a Cobalt Boats web forum

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 47876
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Users not staying logged in on ios/android

Post by stevemaury » Thu Oct 12, 2017 4:52 pm

You have to now change the cookie name. Just append a digit to it.
For REALLY good and VERY inexpensive hosting CLICK HERE

All unsolicited PMs will be ignored.

jhnmdahl
Registered User
Posts: 15
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl » Fri Oct 13, 2017 2:20 am

Yep, changed the cookie name, purged the cache, and cleared all current sessions.

John
Administrator of cobaltchat.com - a Cobalt Boats web forum

jhnmdahl
Registered User
Posts: 15
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl » Sat Oct 14, 2017 3:31 pm

Solution - I changed the cookie settings from www.cobaltchat.com to .cobaltchat.com, and that seems to have helped on mobile devices and with chrome (it always worked on most desktop browsers). Note this is contrary to the guidance given in the cookie configuration article linked above, so hopefully this helps others too.

Thanks again,

John
Administrator of cobaltchat.com - a Cobalt Boats web forum

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: Clair and 20 guests