| Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help? |
|
|||||||
| Register | FAQ | Shooters | Calendar | Reviews | Tutorials | Gallery | Books | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Big grins
Join Date: Oct 2007
Location: England
Posts: 63
|
SessionID inactivity timeout
Hi there
Does anyone (possibly devbobo or Andy?) know what the SessionID inactivity timeout is? To be more specific, when logging in with one of the login.with* calls, the SessionID is returned. How long is this SessionID valid for if I don't use it again for another call? I've found that if I reuse the SessionID on regular intervals, say every 2 hours, it seems to be accepted indefinitely, however if I leave it for an extended period of time, say overnight, the SessionID is no longer valid, and I need to relogin. Cheers, Colin |
|
|
|
|
|
#2 |
|
technicolored
Join Date: Nov 2004
Location: Melbourne, AU
Posts: 4,319
|
Hey Colin,
I believe that it times out after 6 hours of inactivity. Cheers, David |
|
|
|
|
|
#3 |
|
Big grins
Join Date: Apr 2009
Posts: 17
|
Hi,
Is 6 hours definitive as the timeout for the session id? Reason I ask is I'm testing a smugmug provider for a Drupal module that I'm developing. I'm working on a dev machine so I have directly access to the database. I'm definitely sending requests to the smugmug api using a sessionid I originally retrieved (and haven't used since) 23.5 hours ago. Perhaps it is the case that session ids sometimes work longer than others because of some internal smugmug api implementation? That said, I definitely have to know definitively what is the minimum time which smugmug "might" invalidate a sessionid so I can avoid unnecessary errors (or unnecessary complication) in my code. Smugmug and the api are awesome! Thanks in advance. Peter |
|
|
|
|
|
#4 |
|
Big grins
Join Date: Oct 2007
Location: England
Posts: 63
|
Thanks David.
|
|
|
|
![]() |
| Tell The World! |
| Thread Tools | |
| Display Modes | |
|
|