Delete expired token?

Codes here !

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 91
Joined: Sat Aug 13, 2011 7:20 pm

Sat May 12, 2012 8:43 am


I have a basic authorization system set up for my AIR desktop program that works with my website.

When the user logs on via the program, among other details, a token and expiry timestamp get saved in a table.

I was wondering if someone could please give me a quick overview of the process for deleting the token when the session ends ie the user closes the program, so that I don't have a whole bunch of obsolete rows in the database? How do you do that since closing the program renders the php script closed too?

Thanks guys.

Post Reply