
Kinsi55
-
Posts
1 -
Joined
-
Last visited
Reputation Activity
-
Kinsi55 reacted to Dr. McKay in Session is lost / invalid after running for a while
Either listen for steamcommunity's sessionExpired event and then call webLogOn(), or set up a timer to call webLogOn() periodically. Hourly works good for me.
webSession is the correct way to listen for new cookies. The Steam backend doesn't proactively send you new cookies when your session expires; it's up to you to request new ones.