session does not work as normal way in vivvo?
hi friends,
today i want to use session to store some value; but i found i can set value to a session and get it back in the same request.
however, when i refresh the page,the value is gone.
can any one tell me why?
e.g. i put the following code in the server side code;
++++++++++
session_start();
if(isset($_SESSION['test'])){
echo "22222";
}else{
$_SESSION['test']= 'sssssssssssss';
echo session_id(),'<br />';
echo $_SESSION['test'];
}
++++++++++
i never get "22222". can anyone tell me what is the reason and how can i use session in vivvo system?
much appreciate.
|