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 |
Does php need apache?
What is the name of scripting engine in php?
What is list function with their uses.
What is difference between echo and print_r in php?
What's the diff. between include() and Include_once().
Can php run without apache?
What is indexing how many types?
3 Answers DLF, Infosys, Net Solution, Vcare,
Why do we show php code in browser?
What is variable declaration?
What is difference between include and include_once in php?
How to convert strings to upper or lower cases?
Is there an easy way to delete an element from a php array?