Signal-Cartel / EveScoutRescue

Web site and data tools for evescoutrescue.com, maintainer ThriceHappy.
https://evescoutrescue.com/home/
13 stars 10 forks source link

ESRC: User session Timeouts too fast w/o Allison #144

Closed Thricehappy closed 6 years ago

Thricehappy commented 7 years ago

We need to come up with a way to extend the session to about 2-3 hours for pilots who do not fly with Allison. The 20-minute timeout means you have to log in almost every single time you sow or tend a cache. Annoying!

We've already tried doing this programmatically in PHP and by adding in our own php.ini. Neither seems to be working.

bikerunner commented 7 years ago

Is there some validation of the user session with CCP login server while make a requests? Can the timeout be related to a CCP session timeout?

Thricehappy commented 7 years ago

Yes, if you have a scope declared when you auth. Because ESRC does not have any scope, we cannot refresh the auth token like Allison can. So, this is a non-issue for pilots who fly with Allison. Those who do not (like Eratos) have to re-login in every 20 minutes. Ugh!

bikerunner commented 7 years ago

I leave Allision sometimes open turned off. This is sufficient to keep the session active. Copilot seems to do some requests in background anyways.

So workaround would be: Start copilot and turn it off. The session stay active.

Thricehappy commented 6 years ago

Closed because Allison is now required to do ESR work