This works
apache_setenv('sessionID', session_id(), TRUE)
BUT
it only makes sessionID appear on GETs of PHP files which set the variable. I would like the sessionID to appear on all GETs including js, jpg, gif etc referred from the PHP file. i.e. all the files in the PHP file. I thought that by setting an apache environment variable the variable scope would make it available for every GET from the PHP file.
Is there any way to do this ?
p.s. I tried setting apache note first and that returns exactly the same.