I am creating a web application for bidding that needs to check for the users last bid time and ensures that if there is no other bid at the particular interval, that user should win and this entry is added automatically to the database.
For checking the time I need to create a webservice that runs at particular interval and checks for the last bid time and do the work after bid time expires.
You should add all bids to the database to track mutiple users.
To notify the users you could setup a web service that requires in parameters for user and auction and returns a small object that contains information about the auction, including information about the highest offer (bid value, timestamp and maybe user) and the auction(status(open/closed), winner and the highest bid etc.).
If it´s been, lets say, 15 minutes since the highest bid was offered you close the bidding and announce a winner. This check could be done within the web service.
Then use Javascript to make frequently AJAX requests against the service and update the HTML/DOM depending on the returned result.