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 do I run php code?
Why do we use htaccess and where?
what is benefit of magento?
Explain setcookie() function in php?
What is php and its advantages?
What is php used for?
What is $globals php?
How can we encrypt the password using php?
What is apache and php?
Code to open file download dialog in PHP?
What is php constructor?
Does strlen include null?