The Movie Database Support

I found the post which mentions that session ids are never purged, which then led me to ask: is there a limit on the number of session ids a single user can have? I'm currently integrating tmdb login into my app and noticed on the sessions screen that when i login/logout multiple times the session id is not getting cleared.

6 replies (on page 1 of 1)

Jump to last post

Hi Umair,

Sessions are not deleted, indeed. The idea would be that you only create 1 session per user/device.

I could add a "logout" method that destroys the session. No one has brought this up until now ;)

Hey Travis!

I think that would be a good idea. From a developer stand point, it does not really make much difference to me since I would be clearing the session id from the app and "imitating" a logout. But the architect in me wants to make sure that the session is deleted from the backend since it could still allow access to the user's account if someone somehow got access to that session id. Plus it would make the sessions page look much cleaner when I go to see how many sessions are active for my API key :).

So... wondering if you're planning on adding a logout method? :)

I'd also like to see this. I would also like to be able to invalidate sessions created using my api key from the control panel. Cheers! :)

I've created a new ticket for this here. I'll try to look at it in the next few months.

Cheers.

Hi guys,

There is now a method to delete session ids. You can read about it here.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login