Delete expired token?

Codes here !

Moderators: macek, egami, gesf

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

Delete expired token?

Postby billygoatkaraoke » Sat May 12, 2012 8:43 am

Hi

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.

Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 1 guest

cron