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: 26
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Users not staying logged in on ios/android

Post by jhnmdahl »

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 www.cobaltchat.com - a Cobalt Boats web forum
rxu
Extensions Development Team
Posts: 3711
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Contact:

Re: Users not staying logged in on ios/android

Post by rxu »

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: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Users not staying logged in on ios/android

Post by Mick »

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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Users not staying logged in on ios/android

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26456
Joined: Fri Aug 29, 2008 9:49 am

Re: Users not staying logged in on ios/android

Post by Mick »

Well, I am from Nottingham :D
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52767
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 »

I have no problem staying logged in on an Android phone (Galaxy). Your domain setting should be .cobalt.com
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
jhnmdahl
Registered User
Posts: 26
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl »

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 www.cobaltchat.com - a Cobalt Boats web forum
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52767
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 »

You have to now change the cookie name. Just append a digit to it.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
jhnmdahl
Registered User
Posts: 26
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl »

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

John
Administrator of www.cobaltchat.com - a Cobalt Boats web forum
jhnmdahl
Registered User
Posts: 26
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl »

I changed the cookie settings from www.cobaltchat.com to .cobaltchat.com, which is contrary to the guidance given in the cookie configuration article linked above, so hopefully this helps others too.

Thanks again,

John
Last edited by jhnmdahl on Thu Mar 01, 2018 7:12 pm, edited 1 time in total.
Administrator of www.cobaltchat.com - a Cobalt Boats web forum
jhnmdahl
Registered User
Posts: 26
Joined: Wed Jun 24, 2015 7:49 pm
Contact:

Re: Users not staying logged in on ios/android

Post by jhnmdahl »

OK, this still doesn't work for longer than a day, so I opened a bug report https://tracker.phpbb.com/browse/PHPBB3-15574 which was promptly closed implying it was a user error rather than a coding problem.

It's also relevant that the "remember me" works fine on desktop browsers (firefox, internet explorer), but not on iphones (and reportedly on some android devices) - the cookie appears to work for some browsers but not others.

Anybody have any insight on how to get this to work?

Edit - the bug has been reopened as an iphone/safari issue, which is the only place I'm able to reproduce the problem myself. I'll report a resolution here if found, whether it's a board configuration or coding issue.
Administrator of www.cobaltchat.com - a Cobalt Boats web forum
Post Reply

Return to “[3.2.x] Support Forum”