My project is using Jira Rest Api’s.
I am currently storing the cookie I get from the login request and am using that cookie in all other requests.
I am not sure how to handle expired cookie (Session Timeout), do I get something in return from the server if the cookie I used in request is expired?
I don’t have REST enable in my Jira instance, but I can tell you that the other API return an time out error. I have to say that the timeout occurred after a long time though (nor really sure how long and where it’s defined).
To see exactly how does the error looks like while using the rest API, you could follow the following steps:
sleepin your script so it won’t do anything for a minute or two.For example, using the XML-RPC API i got the following error:
If you’ll try this come back and post your finding so other people could benefit from this as well.