What are the basic steps to store PHP session in to Database?
Answer Posted / dharamveer singh sagar
To store PHP session in a database , need to foolow step,
which is given below
1. to create session
<?php session_start();?>
2.assign to a variable
<?php $s=$_SESSION['username'];?>
3 then store it into database
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is php used for?
Can a trait extend a class php?
What is php stack?
What are the advantages of oops in php?
What are the php variables?
What should be the length of variable for SHA256?
Who created numbers?
What are some of the advanced features of php?
What is singleton pattern in php?
What is a null coalescing operator in php7?
Tell me is it possible to submit a form with a dedicated button?
How can we check the value of a given variable is a number?
How do I escape in php?
What is php written in?
What is an operator in php?