Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep PHP sessions alive while in game #27

Open
nhnb opened this issue Mar 31, 2024 · 0 comments
Open

Keep PHP sessions alive while in game #27

nhnb opened this issue Mar 31, 2024 · 0 comments

Comments

@nhnb
Copy link
Member

nhnb commented Mar 31, 2024

If the gameserver hosts a PHP based website, the PHP session will expire during game play.

Since Marauroa already has code to find the PHP session files in order to pick up the account name, Marauroa could refresh the last modified timestamp of those files regularly.

Alternatively the game could create a dummy request to a PHP-page via fetch in a setInterval callback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant