What are the basic steps to store PHP session in to Database?
Answer / 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 |
Where is session value stored php?
Is php outdated 2019?
how to use particular city location in php?
Is it easy to learn php?
Explain how we can retrieve the data in the result set of mysql using php?
•What is the difference between “mysql_fetch_array” and “mysql_fetch_object?
What does echo mean in php?
Does cors prevent csrf?
What is strlen function in php?
What is empty () in php?
How to fix "headers already sent" error in php
Will a comparison of an integer 12 and a string "13" work in php?