hi,
my requiremet is like this.
when a page php page is called by user. it should activate the timer and respond to the request instantly no need of waiting for timer to be expired. but when timer expires it should do some work.
in other words after response from php i want that page still active waiting for timer to expired.
please help.
asynchronous Timer in PHP
Moderator: General Moderators
-
lokesh_kumar_s
- Forum Commoner
- Posts: 48
- Joined: Mon Apr 13, 2009 5:39 am
- Contact:
Re: asynchronous Timer in PHP
you can do that with javascript(jquery)
-
lokesh_kumar_s
- Forum Commoner
- Posts: 48
- Joined: Mon Apr 13, 2009 5:39 am
- Contact:
Re: asynchronous Timer in PHP
i want server side script to do that.
the flow should be like this:
i request a page.
1> server page sets the timer. 2> responds instantly to request without waiting timer to expire.
when timer expires some action needs to be taken.
the flow should be like this:
i request a page.
1> server page sets the timer. 2> responds instantly to request without waiting timer to expire.
when timer expires some action needs to be taken.