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 is the difference between session_unregister() and session_unset()?
Write a program to display a table of any given number?
Who is the father of php?
What type of operation is needed when passing values through a form or an url?
What is T_PAAMAYIM_NEKUDOTAYIM?
Which parts of php are case sensitive?
Does exist in php?
i have a string and that string contains the alphanumeric value and i want to hide or semihide the 10 digit telephone number from the string.
What was the old name of php?
What are the popular content management systems (cms) in php?
What are the different errors in php?
What’s the special meaning of __sleep and __wakeup?