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...

How can we register the variables into a Session?

Answer Posted / senthilkumar g

<?

session_start();
$username=$_GET['username'];
$_SESSION['username']=$username;
session_write_close();
?>

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lamp in php?

922


What is the use of post in php?

951


How can you submit a form without a submit button?

927


Why would we use === instead of ==?

8801


Where do I run php code?

923


How long is csrf token?

882


Tell me when a conditional statement is ended with an endif?

867


How can you increase the maximum execution time of a script in php?

913


How can you get the size of an image in PHP?

972


Why do we need abstract class in php?

913


What is a path Traversal?

995


What is php and why we use it?

959


List the different types of print functions available in php?

890


Explain PHP looping?

975


How to enable parsing?

1034