Options

1.2.0 ?method=smugmug.logout errors

kansaschuckkansaschuck Registered Users Posts: 50 Big grins
Why would I get an error on logout about invalid API key? (1.2.0)

{s:4:"stat";s:4:"fail";s:4:"code";i:18;s:7:"message";s:15:"invalid API key";}


APIkey is not an operand on logout. So I add APIkey and get the same message...

and while I'm on the subject.... then what happens to those sessions?

thanks...:scratch
Chuck

Comments

  • Options
    kansaschuckkansaschuck Registered Users Posts: 50 Big grins
    edited December 19, 2006
    Why would I get an error on logout about invalid API key? (1.2.0)

    {s:4:"stat";s:4:"fail";s:4:"code";i:18;s:7:"message";s:15:"invalid API key";}


    APIkey is not an operand on logout. So I add APIkey and get the same message...

    and while I'm on the subject.... then what happens to those sessions?

    thanks...headscratch.gif
    Chuck


    I'm working away and I not able to get logout to work. I'm not able to find it now but I think I read that a session remains for 6 hours or something like that. So I'm making repeated calls to the API with my code and code development and I'm creating new sessions each time. This works ok for me but I'll just issue a flag to smugmug to note that. I dont want to bog down the server with dangling sessions. If anyone thinks it's an issue just let me know. Until I hear otherwise I will work away.

    Thanks,
    Chuck
  • Options
    ScottsScotts Registered Users Posts: 8 Beginner grinner
    edited December 22, 2006
    I am seeing the same behavior.
Sign In or Register to comment.