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 |
Explain me what is the meaning of a persistent cookie?
What is the name of scripting engine in php?
What is helper function?
Explain me soundex() and metaphone()?
Swap two variables value without using third variable in php ?
what do you mean by php.ini file ?????????
What is the use of array_search() in php?
how to install openssl, ISAPI, pdf modules in php 5.2.5 with apache on windows xp.
Which is correct about mysqli and pdo?
How do you remove whitespace from the beginning and end of a $string variable?
In mail($param1, $param2, $param3, $param4), the $param2 contains__
What is the functionality of the function html entities?