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
What is php and sql?
Write a php script to get the largest key in an array?
Can the value of a constant change during the script's execution?
Is array a key php?
Does php use html?
Is php better than java?
Can php replace javascript?
What is new static in php?
What is the main difference between asp net and php?
How to remove leading and trailing spaces from user input values?
Are php variables global?
What is singleton class in php?
Why and where do we use htaccess?
What type of errors can be occurred in php?
What are php parameters?