How can we register the variables into a Session?
Answer Posted / subrat
$_SESSION[?name?] = ?Chinmay?;
To destroy a session: unset($_SESSION[?name?]);
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
Tell me how can we change the maximum size of the files to be uploaded?
What are the functions to be used to get the image's properties (size, width and height)?
Inside a php function, what param needs to be set in order to access a global variable?
What is class extend in php?
How can cross site request forgery csrf be prevented?
What are traits?
List some array functions in php?
What is url encoding and decoding in php?
What is strlen function in php?
Is java is better than php?
What does php exit do?
What is the purpose of php?
How to track no of user logged in?
What are getters and setters and why are they important?
Which is incorrect with respect to separating php code and html?