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 are differences between PECL and PEAR?
How to make a class in php?
How does session work in php?
What are escaping characters? Explain with an example?
Is null or empty c#?
Why do we use htaccess
What is the purpose of the '.myd' file extension? What do thes file contain?
How does the identity operator === compare two values?
Is php difficult to learn?
What is the function mysql_pconnect() useful for?
How to get the value of current session id?
How to support multiple-page forms?
Why does php need server?
What is mysqli php?
What is singleton pattern in php?