How can we register the variables into a Session?
Answer Posted / tarun
session_start();
$ses_variable="name";
session_register('ses_varaible');
// to access the session
echo $_SESSION['ses_variable'];
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Explain Constant in Class?
How can you compare objects in php?
What is laracast?
How to get complete current page url in php?
What is a php form?
What are the differences between php constants and variables?
Tell me what is the difference between get and post?
Is php strongly typed?
What will the ?getdate() function returns in PHP?
What is cookies? How to create cookies in php?
What are html entities?
How do you sort an array in php?
What is the purpose of php?
How do you identify independent and dependent variables in research?
What is urlencode and urldecode in php?