jquery - Unable to access session variable in php script called using ajax -
jquery - Unable to access session variable in php script called using ajax -
consider next scenario. have 3 php files, file1.php, file2.php , file3.php located on server. file1.php starts session , sets session variable say,var. able access var using $_session['var'] in file2.php. file3.php called using jquery ajax functionality, im unable access $_session['var'] in file3.php. if gettype($_session['var']) in file3.php returns null. problem here ?
please help give thanks you
from tests should work. happening if not have sessions set utilize cookies , beingness appended url, need pass session hash via get, using proper name set in php.ini, uploadify script.
but there bunch of inconsistencies, in pastie, not have rename every part of code, need post relevant sections.
php jquery ajax
Comments
Post a Comment