Related to the question about getting API token is another one ... how long is token valid? In my code, I usually perform logon at the beginning of user's session (when he starts eclipse and my plugin needs to access fogbugz for the first time), and then use it all the time. When program is restarted, new logon is performed.
I've never seen any problems related to this, but I am not sure if my code shouldn't be smarter about reusing old tokens.
So my questions are:
How long can I use one token? is it valid until logoff is explicitely executed? Is there some timeout (hours/days/months/years)? What happens when I perform many many many logons with same user? I think he gets new token each time ... can I "overflow" token database? (ok, in theory anyway :-))