How do you register one session ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / modi[achir communication]
session_register($session_var);
$_SESSION['var'] = 'value';
| Is This Answer Correct ? | 2 Yes | 0 No |
What are the differences between session and cookie?
Write a program to get lcm of two numbers using php?
What u mean by query?
Do you know what is the function mysql_pconnect() usefull for?
What is the meaning of "enctype= multipart/form-data" ?
Does exist in php?
What is isset php?
What is session in php w3schools?
Whether site will complete the execution of the script if Fatal error occurs ?
How do I add to the beginning of an array and find the number of elements in it?
1 Answers Rushmore Consultancy,
What is the function of mysql_real_escape_string in php?
What are interfaces in php?