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 do you register one session ?

Answer Posted / harjeet

session_register()

e.g.
$user="Username";
session_register("user");


or more preferred way is
$_SESSION['user']="username";

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who developed php?

992


How to open a file for writing?

1064


What are interfaces in php?

967


Why do we use php?

958


How can you submit a form without a submit button?

963


Is overloading possible in php?

974


What is the difference between explode() and split() functions?

1055


What software is required for php?

1037


How to test if a variable is an array?

1124


How can you declare the array in php?

987


Does php have future?

973


Why do we use hooks?

913


What is final in php?

1093


Explain about switch statement in PHP?

1022


Write an example to remove html tags from a string in php?

927