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 Type juggling?
where do we use htaccess?
What is the default time of cookie in php?
Name some of the popular frameworks in php.
Is learning php easy?
What is meant by an associative array?
What is the difference between php and javascript?
What is polymorphism in oop php?
What is putenv?
How to add comments in php?
Write a program to find no of days between two dates in php?
How is session data stored?
What is trim function in php?
What is the most convenient hashing method to be used to hash passwords?
Explain what are the two main string operators?