question

marty avatar image
marty asked

How long does a SessionTicket remain valid? When does it expire?

I think I read in a different answer that the SessionTicket is valid for 24 hours. I created a SessionTicket on Friday and today (Monday) it's still valid. Did the expiration time change?

Authentication
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

The session ticket has, as part of its construction, an encoded timestamp. It literally can't be valid after 24 hours, as the ticket creation process only has one setting for that. And if the timestamp were missing, the ticket would be rejected as invalid. If you think you have one that's still valid, can you send it to us at devrel@playfab.com?

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

marty avatar image marty commented ·

I emailed the session ticket to devrel@playfab.com.

0 Likes 0 ·
brendan avatar image brendan marty commented ·

In our testing, that ticket wasn't valid. Can you please provide more details on your repro case? From what we can see, the ticket is expiring after 24 hours.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.