Following the development team's announcement that session expiry time would be reduced from 12 hours to 1 hour, I modified the code in my apps to include a KeepAlive function executable every hour following login. I used a timer to do this and it worked fine in testing, but when the apps were in full flow at the weekend they were frequently crashing. Hitherto I haven't used KeepAlive as my sessions never approached 12 hours.
To prevent further crashes I took out the KeepAlive code so that I could continue to trade, with the intention of logging in again every hour from my manual login dialog form. However it turned out that I did not need to do this, as the hour intervals passed without my sessions expiring. I'm now confused as I understood that expiry was not activity dependent, so I expected to be automatically logged out every hour if I wasn't employing KeepAlive. Am I misunderstanding the nature of Betfair's new session protocols or have they not been implemented as announced?
Any guidance from members of the development team would be appreciated.
With regards
Mike
To prevent further crashes I took out the KeepAlive code so that I could continue to trade, with the intention of logging in again every hour from my manual login dialog form. However it turned out that I did not need to do this, as the hour intervals passed without my sessions expiring. I'm now confused as I understood that expiry was not activity dependent, so I expected to be automatically logged out every hour if I wasn't employing KeepAlive. Am I misunderstanding the nature of Betfair's new session protocols or have they not been implemented as announced?
Any guidance from members of the development team would be appreciated.
With regards
Mike


Comment