Novice Help About PHP timer issues:
I want to write a timer on PHP, but PHP does not seem to support this feature, on the Internet to check a lot of friends, but none of the methods,
I now want to through a dead loop to achieve, but also not, to
[Online help] Questions about php timers for beginners about php timers:
I want to write a timer in php, but php does not seem to support this function. I checked a lot of methods on the Internet, but none of them work,
I want to implement it
If the page is not operated for a long time, how to automatically exit the session? Tutorial: if the page is not operated for a long time, how to automatically exit the session. if the sessionphp page is not operated for a long time, how can I
Detailed description of the timeout Mechanism During php script running, and detailed description of the php script Mechanism
During php development, max_input_time and max_execution_time are often set to control the script timeout. But I have never
PHP Script Runtime time-out mechanism detailed, PHP script mechanism
In the development of PHP, often set max_input_time, Max_execution_time, to control the script time-out. But I never thought about the principle behind it.
Take advantage of the
How the session works:(1) When a session is enabled for the first time, a unique identifier is stored in a local cookie. (2) first use the session_start () function. php loads the stored session variables from the session repository. (3) When
Ask: If the page does not operate for a long time, how to let the session automatically exit.
Reply to discussion (solution)
Impossible, because PHP will not actively workBut you can put the current time in the session as the next entry to
This article compares the session in PHP with the cookie difference in detail. Share to everyone for your reference. The specific analysis is as follows:
1, the location of storage
Cookies are saved on the client, session is saved on the
Scheduled operation of the task for a site, is a more important task, such as the timing of the release of documents, scheduled cleanup spam, and so on, most of the current Web site is the use of PHP dynamic language development, and the
A list of asynchronous programming resources in PHP.
Concepts
Asynchronous
asynchronous I/O-Wikipedia
Async PHP by Christopher Pitt/assertchris
Blocking
Blocking (computing)-Wikipedia
Concurrency
Concurrency
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.