Forum Moderators: coopster
I need to start/close the current session ($_SESSION) because of the lock session set on the session file, which i need to be unlocked.
Anyway, currently when i use a function that looks something like this.
function setSessionVar($varname, $value) {
session_start();
$_SESSION[$varname] = $value;
session_write_close();
}
It adds a session cookie everytime the session_start() gets called.
This adds multiple cookies with the same session name, value, expire date etc.. etc..
Is there a way to prevent the cookie/header to be set or something?
Thx in advanced.