hey guys im doing a web based software for my body's new gym.
now i made it so when a client scans his membership card it inserts the data in the databse(time,client id)
now i want to make a script that when they scan it veryfies the membership status (date) and a popup that opens to warn the staff that his membership is almost over.
so the ajax part question would be that if the guy(staff)has the application minimized it would still popup?
is it possibleto do it in the icon tray?
but how can you enter the card data if the window is minimized? Do you have a special software that makes a web call upon card use?
sorry wrong info
there is a pc made just for that and it will insert the data in the DB
so i have to get the info i need to figure out how to trigger the the other pc tocheck the db when a client swips..
why not just let the card reader pc play a nice sound if it's almost ended, and another one when it's not valid any longer? then your problem is solved :-)
if this is locally used, you could have a iframe that actually reloads every 3-5 seconds...
you could actually have a trigger on inserting the sweep to the database, that launches an external program that plays a sound if it's nearly invalid.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks