One of my sites has an strange behaviour that makes impossible to login if you don't delete cookies before, or if wait for a long long time (may be 1 day, not sure).
My site is configured like this:
- URL is a subfolder of main domain:
https://www.????mydomain.com/courses/ https://www.????mydomain.com
is a different site with different files, database, cookie and session names, etc.)
- PHP Version 5.2.17
- Xoops: 2.5.6.
- Protocol: https
- Name for user cookies: x??????_user
- Use custom session: yes
- Session name: x?????_session
- Session expiration: 60
This error happens in this way:
- Fist login try of the day: everything goes ok, I can use the site normally.
- After use, I don't close session manually, simply leave the site loaded in the browser.
- After 1 hour or more, if I try to navigate again through the site I get the usual permissions error (needed to be logged to use the site).
- I try to log and the site shows that I have logged correctly with the redirect page (It doesn't use jGrowl redirect)
- After been redirected the main page is shown, but always logging block is displayed as sessions is actually closed.
- If I directly load site home page, It shows the login block.
If I delete cookies (only the ones of my site) I can log again without troubles.
Please help.