r/expressionengine • • 19d ago

Constantly being logged out - EE7

I've just moved over from Drupal and thus far I am in heaven!

One issue that is quite annoying though is how often I am being prompted to login. It's constant, like I can be prompted within minutes.

In settings I have
CP session type - Cookies and session ID
Website Session type - Cookies only

Any ideas why this is happening?

3 Upvotes

5 comments sorted by

1

u/four__beasts 19d ago edited 17d ago

I would try cookies only.

Also - is your network stable? Switching between WIFI/5G can cause problems, especially with sessions.

(P.S. Cookies only has added benefit of making CP urls sharable - so you can link to entries - useful for logged in editors on the front end if you want to build a small editor component)

2

u/gwenver 18d ago

Seems better, but not entirely fixed. Will try clearing cookies etc and seeing if that fixes it. Thanks

1

u/eecms 7d ago

I believe a fix for this was JUST released in the 7.6.0 release.

https://expressionengine.com/blog/expressionengine-7.6.0

1

u/gwenver 2d ago

Doesn't seem to have solved it for me. Will report back if anything improves.

PHP 8.5 compatibility appreciated though!

1

u/drusoicy 16d ago

This has been an issue for me for YEARS. Highly annoying when in the middle of work.