Author Topic: API Session Expiry  (Read 667 times)

nathanknz

  • Newbie
  • *
  • Posts: 16
API Session Expiry
« on: November 20, 2009, 05:05:25 AM »
Hey team,

I was wondering what the session expiry was for the API? Using the PHP script from the Wiki as an example. I read it is based on a time expiry from the last action, but I couldn't see anywhere that stated how long this is?

I'm wanting to cut the CURL executions to a single execution per control action, rather than having to fetch the session variable every time. I can store a variable somewhere and have the script define a new session if it's been X number of secs/mins/hours/days since the last action.

Thanks in advance.

nathanknz

  • Newbie
  • *
  • Posts: 16
Re: API Session Expiry
« Reply #1 on: November 23, 2009, 04:43:53 AM »
Anybody have any experience with this?   ???

iobridge

  • Administrator
  • Hero Member
  • *****
  • Posts: 668
    • ioBridge Support
Re: API Session Expiry
« Reply #2 on: November 23, 2009, 08:34:57 AM »
Three days is the expiry limit after the last time you use the API. That should give you enough time so you don't have to get new sessionIDs.

Is that what you are looking for?
ioBridge Support
Community Team

nathanknz

  • Newbie
  • *
  • Posts: 16
Re: API Session Expiry
« Reply #3 on: November 23, 2009, 03:15:53 PM »
Fantastic - just the answer I was looking for. Thanks very muchly.