Authentication token expired after some player inactivity

Options

Hi,

in our game a client can happen to not call RaiseEvent() for quite some time, even an hour. If that happens he/she will get disconnected with:

Operation Response: 230 Return code 32753 Authentication token expired

Would calling RaiseEvent() periodically, say every 58 minutes, refresh the auth token?

Thank you.

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options

    Hi @John007,

    Thank you for choosing Photon!

    Yes as you can read here you need to RaiseEvent (any thing dummy) before token expiration (60 minutes) inside the room to refresh the token automatically.