session - PHP $_SESSION Values Don't Persist Between Requests -
i have files:
set.php
<?php session_start(); $_session['user_name'] = "anglinb"; var_dump($_session); ?>
get.php
<?php session_start(); var_dump($_session); ?>
i have 1 server can go set.php , go get.php , both pages show same result of vardump.
the second server, hosted namecheap, not store data. $_session superglobal working fine stopped working.
what have tired
i have check writablity of tmp domain suggested here stackoverflow.com. information still doesn't persist between requests. know browser settings , code ok because works on server.
i have tried set path different directory permissions 777.
ini_set(' session.save_path','/tmpp');
i can post phpinfo page if help.
here 2 cookies: set:
get:
Comments
Post a Comment