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
Write a program to show the joining of two strings in php?
Will a comparison of an integer 12 and a string "13" work in php?
How does php work?
How is it possible to remove escape characters from a string?
What is php artisan tinker?
What is the definition of a session?
What percentage of websites use php?
What are Routines?
What is php explain?
What are global variables in php?
What is singleton pattern in php?
Is age interval or ordinal data?
How to join multiple strings into a single string?
Why laravel is the best php framework in 2019?
How to create database connection and query in php?