The timer on the client browser would have to be done in some client-side language.
On the server side you can place any order information that is out with a supplier in a db field along with the time it was pulled. When the next supplier submits a request, the db is parsed for pending jobs whose time has gone over the 30 minutes. If it has, then provide the same information to this supplier and update the record to show who it is out with. If there are none that have gone over the 30 then generate a new set for this supplier and record the time it was provided and the supplier it was given to. When the supplier publishes the completed information, check to make sure it was in time, if it was in time remove the entry from the db so that it isn't given back out. If it is too late you can generate an error page and start back over if he still wants to try. Note there may be some additional steps necessary to make sure that two suppliers aren't trying get an expired entry at the same instance where there is a fraction of a second between checking the time on the record and taking the record where both check the time and take the same record. You will probably have to use locking on the db to avoid this. Larry -----Original Message----- From: ike strong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 01, 2004 9:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Setting a 'life-time' clock to a displayed information Hi all, I'm interested in finding out a way to set a time limit to a displayed information - i.e. the displayed information will sieze to appear to a viewer's browser once a set time period is reached. What I'm trying to achieve is a situation whereby a certain 'info' (like an order!) would only appear to a target viewer (like a supplier!) for example (say) 30 minutes and if that viewer did not react within the set time, the information will sieze to appear to his/her browser so that the same information could be forwarded to the next viewer (supplier)on the list. The setting of time approach is to avoid having two people working on the same information at the same time. I'd really appreciate any hint/help Thanks in advance Ike __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php