Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is php used for?

930


Can a trait extend a class php?

934


What is php stack?

902


What are the advantages of oops in php?

1016


What are the php variables?

976


What should be the length of variable for SHA256?

929


Who created numbers?

933


What are some of the advanced features of php?

935


What is singleton pattern in php?

855


What is a null coalescing operator in php7?

1105


Tell me is it possible to submit a form with a dedicated button?

912


How can we check the value of a given variable is a number?

1018


How do I escape in php?

953


What is php written in?

947


What is an operator in php?

1013