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 delimiter syntax is PHP's default delimiter syntax
What is env in laravel?
What are the advantages of stored procedures, triggers, indexes in php?
How would you determine the size of a file in php?
What does the unset() function means?
How do I repair phpmyadmin?
What is use of preg_replace in php?
What are the advantages and disadvantages of cascade style sheets?
Do you know is it possible to extend the execution time of a php script?
Will php die?
How to create a table to store files?
What is instantiation?