Is it possible to use session in php when you have started in the same php file a background process by shell script? I couldn't.
I have a file login.php4 that looks like:
<?php
session_start();
session_register("user_name");
//then I start a process:
system("/usr/local/bin/camserv > /tmp/my_script.$$ &", $res);
//then I redirect a browser to another page
//which is also using session:
header('Location: http://xxx/test.php4[/url]');
exit;
?>
All this doesn't work as long as session is active at least in one of the connected pages.
Could you, please, help me?