Advertisement:

Author Topic: Long Lasting Login Session  (Read 1379 times)

Offline Ewap

  • Semi-Newbie
  • *
  • Posts: 20
Long Lasting Login Session
« on: January 04, 2018, 06:40:30 PM »
Hi, my users, including me get automatically logged out within a space of one day or less on chrome mobile and others. Although I haven't experienced this using pc.

But my mobile browsers log me out especially after a specified threshold. I also click on always stay logged ing, but still no changes.

How do I solve this? Thanks!

Offline SaltedWeb

  • Sr. Member
  • ****
  • Posts: 854
  • Gender: Male
  • The Tired One
Re: Long Lasting Login Session
« Reply #1 on: January 04, 2018, 10:11:31 PM »
Silly question but are your cookies turned on ?
In some smart phones and their browsers are not set to save cookies. I know it should be by default.
Usually these are in the privacy settings in your phone.
Especially since your PC doesn't do it is why I suggested it..
I am not a mobile expert or anything its the first thing I would check though.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Offline Ewap

  • Semi-Newbie
  • *
  • Posts: 20
Re: Long Lasting Login Session
« Reply #2 on: January 05, 2018, 07:15:03 AM »
Silly question but are your cookies turned on ?
In some smart phones and their browsers are not set to save cookies. I know it should be by default.
Usually these are in the privacy settings in your phone.
Especially since your PC doesn't do it is why I suggested it..
I am not a mobile expert or anything its the first thing I would check though.

Sorry, but your reply was really not needed. What's so silly about the question?

Offline SaltedWeb

  • Sr. Member
  • ****
  • Posts: 854
  • Gender: Male
  • The Tired One
Re: Long Lasting Login Session
« Reply #3 on: January 05, 2018, 11:11:05 AM »
Silly question but are your cookies turned on ?
In some smart phones and their browsers are not set to save cookies. I know it should be by default.
Usually these are in the privacy settings in your phone.
Especially since your PC doesn't do it is why I suggested it..
I am not a mobile expert or anything its the first thing I would check though.

Sorry, but your reply was really not needed. What's so silly about the question?

I was saying  " I " had a silly question asking if your Cookies were on its very commonly over looked on smartphones.
I didn't say you had a silly question I was saying I did.  Anyways if you arenot staying logged in, 99% of the time its because
cookies are not saving the session and are timing out, IF your PC is operating as it should that means your SMF is not the cause and its
settings on your phone... Hope this helps as you are only providing very limited information, if this doesn't help you perhaps someone else
can send you in the right direction. Good Luck.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Offline Ewap

  • Semi-Newbie
  • *
  • Posts: 20
Re: Long Lasting Login Session
« Reply #4 on: January 05, 2018, 04:17:25 PM »
Silly question but are your cookies turned on ?
In some smart phones and their browsers are not set to save cookies. I know it should be by default.
Usually these are in the privacy settings in your phone.
Especially since your PC doesn't do it is why I suggested it..
I am not a mobile expert or anything its the first thing I would check though.

Sorry, but your reply was really not needed. What's so silly about the question?

I was saying  " I " had a silly question asking if your Cookies were on its very commonly over looked on smartphones.
I didn't say you had a silly question I was saying I did.  Anyways if you arenot staying logged in, 99% of the time its because
cookies are not saving the session and are timing out, IF your PC is operating as it should that means your SMF is not the cause and its
settings on your phone... Hope this helps as you are only providing very limited information, if this doesn't help you perhaps someone else
can send you in the right direction. Good Luck.

Haa! I see now...
So sorry, the lack of comma in your first sentence screwed up my interpretation.
Thanks, but I don't know if it's the phone, cus I register on some other forum and I don't get logged out like that of SMF.
MYBB and vanilla store my cookies very well. And I may have tampered with the default cookies settings.

I would appreciate if someone shares the original cookies setting for smf or may be that of this support forum.

Offline Aleksi "Lex" Kilpinen

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 16,537
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Long Lasting Login Session
« Reply #5 on: January 08, 2018, 05:30:22 AM »
Hi, my users, including me get automatically logged out within a space of one day or less on chrome mobile and others. Although I haven't experienced this using pc.
When this happens, have you logged out of the same forum on a computer perhaps? Does this happen even if you only use mobile?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Online drewactual

  • Jr. Member
  • **
  • Posts: 229
    • College Football Fan Site CFB51
Re: Long Lasting Login Session
« Reply #6 on: January 08, 2018, 09:08:45 AM »
where are your sites sessions being stored?  in a file or client side? 

you can adjust, via php, the time to keep something alive (not garbaged) but it isn't going to help if a user logs out from another device and expects to remain logged on another. 
https://www.cfb51.com is a College Football Fan Site, Store, and Publisher, launched in July of 2017

Offline Ewap

  • Semi-Newbie
  • *
  • Posts: 20
Re: Long Lasting Login Session
« Reply #7 on: January 10, 2018, 06:36:10 PM »
Hi, my users, including me get automatically logged out within a space of one day or less on chrome mobile and others. Although I haven't experienced this using pc.
When this happens, have you logged out of the same forum on a computer perhaps? Does this happen even if you only use mobile?


Yep

where are your sites sessions being stored?  in a file or client side? 
What does this mean, sorry

Offline Aleksi "Lex" Kilpinen

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 16,537
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Long Lasting Login Session
« Reply #8 on: January 11, 2018, 05:37:19 AM »
Hi, my users, including me get automatically logged out within a space of one day or less on chrome mobile and others. Although I haven't experienced this using pc.
When this happens, have you logged out of the same forum on a computer perhaps? Does this happen even if you only use mobile?


Yep
Yes on both? Then no wonder. If you log out of one device, your login will expire on other devices too.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas