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 |
What is the use of pear in php?
What is MVC structure in Magento?
What is session and Cokkies . How it works . tell some thing about Session_id()
1 Answers DVS, Net Solution, PVWEBCO,
What is php resource type?
What is php explain how php works?
How can we upload a file in php?
Tell me what is the main difference between php 4 and php 5?
What are the advantages of PHP over HTML?
11 Answers Infosys, Torque Infotech,
What is php oops concepts?
Which function would you use to read a line of data from a file in php?
How to select a database in php?
Is json a string php?