Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //file1.php
- <?php
- session_start();
- $time = time() + 3;// Ждем 3 секунды, а потом отдаем ответ
- while( time() <= $time ){}
- echo 'okay';
- //file2.php
- <?php
- session_start();
- echo 'Открыт file2.php';
- <?php
- session_start([
- 'read_and_close' => true
- ]);
- $time = time() + 3;// Ждем 3 секунды, а потом отдаем ответ
- while( time() <= $time ){}
- echo 'okay';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement