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 how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What is php crud api?
What is $_ post in php?
What are the differences between PHP 3 and PHP 4 and PHP 5?
How are Variables Defined in PHP?
How to set cookies?
How do you check if a variable has been set in php?
How does header() work . What do they tell the server same question for SESSIONS
Does wordpress still use php?
How can we determine whether a variable is set?
What is sticky form in php?
What is meant by nl2br()?
4 Answers Rushmore Consultancy,