Re: Re: session expire timeout
| From: | Christoph Michael Becker | Date: | Sun, 29 Jun 2014 23:09:56 +0000 |
| Subject: | Re: Re: session expire timeout | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323559@lists.php.net to get a copy of this message | ||
Hadi wrote:
>> I hardly can make any sense of your description, but the following
> comments
>> might help you a bit.
>
> Look when I open javascript page I will keep pulling my script "test7.php"
> and keep it alive every interval second. When I close javascript page. My
> script "test7.php" should timeout and execute "
> file_put_contents('/tmp/phptest1234.txt', 'test');".
>
> Hope im clear here. Did you get what I mean ?
I think so. :)
However, this is not how HTTP works. I suggest you get a basic overview
by reading <http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol>,
and to deepen that by reading RFC 2616 (or better the RFCs 7230-7235
obsoleting this RFC), as necessary.
--
Christoph M. Becker