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?



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

Post New Answer

More PHP Interview Questions

Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani

0 Answers  


How come the code works, but doesn’t for two-dimensional array of mine?

0 Answers  


What enctype is required for file uploads to work?

0 Answers  


How many ways to include variables in double-quoted strings in php?

0 Answers  


What is a persistence cookie?

0 Answers  


what mode to use when creating dirs with mkdir?

1 Answers  


Explain Type juggling?

0 Answers  


What is use of count() function in php?

0 Answers  


How to check a variable is array or not in php?

0 Answers  


What are the differences between mysqli_connect and mysqli_pconnect?

0 Answers  


What are the two main string operators?

0 Answers  


I have written a source code in php but I do not know how to compile that and conduct it with a website please explain me the how to compile that ?

1 Answers  


Categories