Welcome Guest, Not a member yet? Register   Sign In
properly set a session_name(0 before session start
#1

Is there a way how to properly set the name of the session in CodeIgniter 4? 
I experience problems when executing a long script, the whole site is affected and you need to wait until the CURL finish.

In this example PHP, you can run multiple long scripts without waiting to finish.
Example: runCurl.php
PHP Code:
set_time_limit(0);

session_name("Curl-".microtime(true));
session_start();

## RUN 5 MINS CURL SCRIPT 

session_write_close(); 
Reply




Theme © iAndrew 2016 - Forum software by © MyBB