You are not logged in.
Pages: 1
A week ago, I logged into the system using core.loginWithKey. At that time I created a folder and then got its ID by using folders.getFolderByPath.
I then logged out - (I think)
Today I clicked on the old request I used to get the folderID that still had the session ID as obtained last week. folders.getFolderByPath The server returned the correct answer.
I then ran core.logout quoting the old sessionID - the reply was OK.
I reran folders.getFoldersByPath and once again, I got the correct answer.
The old sessionID would not let me create a new folder so it would seem i can not change the system with old IDs but I can get data from it.
Can anyone explain how long sessions should last - is there a setting somewhere? Also what is and is not affected by the sessionID? I would have thought that once a session is killed off, you should not be able to use it for anything.
Offline
Specifying an invalid session ID is equivalent to not specifying one at all, so the API request will be handled in an anonymous context. If the folder in question is publicly accessible, you will therefore get a successful response to a request to get details about it, but still be prevented from modifying it in any way.
Kind regards,
Dominic
Offline
Pages: 1