You are not logged in.
Hi,
So I've just installed Apache and PHP from extra repository using pacman, everything seems to be working fine except PHP sessions!
I'm testing this using 2 files, file 1 stores a variable into $_SESSION, file2 tries to access it - without success.
I've chmoded the /tmp directory to 777. I've tested storing files in /tmp via PHP - which works.
I've gone through the php.ini and online documentation and am at a loss - somebody, anybody, any ideas??
File1:
session_start();
$_SESSION['test']='hi';
var_dump($_SESSION);
File2:
session_start();
var_dump($_SESSION);
I'm accessing both the files in the same browser (Chromium) in different tabs as localhost/file1.php,file2.php
Thanks,
Jeremy
Last edited by jeremyj11 (2012-12-10 11:46:26)
Offline
Ok after wasting hours on this - SOLVED - .. by simply clearing the contents of /tmp
bloody computers.
Offline