I am using a function where two user reply there answers in different time interval .If 1st user has replyed how to wait for another user reply in PHP where maximum wait time is 5 min. without using java script.
You could set a cookie and have it expire in 5 minutes. If the cookie does not exit then proceed as normal. If the cookie exists then ignore process