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 difference between required and require_once in php?

1079


Explain how can we execute a php script using command line?

1025


How do you measure variables?

1051


Is php open source?

995


What is php session id?

986


How to delete file in php?

986


Explain about the data types in PHP?

969


What is difference between base_url and site_url?

1013


What is needed to be able to use image function?

1012


Where php basically used?

1008


How do I run a php program in dreamweaver?

1067


Where do we use get and post?

969


How can we connect to a mysql database from a php script?

1104


How do you destroy a particular or all Sessions?

1001


What is a null coalescing operator in php7?

1157