Answer Posted / harjeet
session_register()
e.g.
$user="Username";
session_register("user");
or more preferred way is
$_SESSION['user']="username";
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the use of Php variables?
How many types of arrays are there in php?
How to test if a variable is an array?
Why do we use cookie?
Explain me the difference between include and require?
Is it more secure to use cookies to trfer session ids?
What is session_start () in php?
What is php string function?
Define metaphone()?
What are the four scalar types of php?
Explain some of the php string functions?
Are sessions stateless?
Why session timeout is important?
What does $_env means?
What is variable give example?