I put a value on session and session work correct same page but in another page this value undifined
session_id do not persist from one page to another
session_id does not persist from one page to another
Nov 15th, 2004 18:04
cool, hooman rahmani, Anda Pacurar,
You need to have a line session_start(); in each page. After that line
u can access the session variable. Also u need to have something like
$_SESSION['registervariable']="sdasd"; in the first page.
registervariable is the variable which u access from each page.
I hope this should fix ur problem.