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 the difference between php and core php?
What is the goto statement useful for?
What is zend studio for?
What is warning – “cannot modify header information – headers already sent”?
What does mvc stand for and what does each component do?
What is the difference between htmlentities and htmlspecialchars in php?
Does php have block scope?
What is the static variable in function useful for?
Which php framework is best for beginners?
What are classes in php?
Tell me what is the difference between exception::getmessage and exception::getline?
Is null function in php?
Is it possible to destroy a cookie?
What is the difference between query and question?
What is the difference between array_merge() and array_merge_recursive() in php?