*

Vlad7

  • ****
  • 244 posts
Authorization on the site
« on: September 14, 2023, 11:27:25 AM »
Every time a user visits my site, he has to log in again.  By logging into the site using your username and password, the user can log in like this for a certain time; after the user closes the site, after a few hours of coming back to the site, they need to log in again.

How to fix it?

*

MB Themes

Re: Authorization on the site
« Reply #1 on: September 15, 2023, 09:46:12 AM »
Most pprobably php session lifetime is short
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Artem

  • **
  • 7 posts
Re: Authorization on the site
« Reply #2 on: September 17, 2023, 06:13:23 PM »
Most pprobably php session lifetime is short

No, these are not PHP settings. I noticed this problem a long time ago. The session life is configured on the server - 7 days. In fact, the session lasts for several hours, and if you close the browser and open it again, the session disappears. You have some error with the formation of the cookie file in osclass. I ask the developers to pay attention to this, as the problem is really serious.

*

MB Themes

Re: Authorization on the site
« Reply #3 on: September 17, 2023, 07:40:08 PM »
Cookies != session

In last version of osclass there were several uodates made those might lead to losing existing session.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots